I used to think this way too. My outlook on life transformed when I found out about this amazing concept: https://en.wikipedia.org/wiki/Collective_action
The only way to solve collective action problems in the real world is via coercion. That is, government.