Not always, take a look at tragedy of the commons:
https://en.wikipedia.org/wiki/Tragedy_of_the_commons