Tragedy of the commons was an ideological essay designed to justify privatization of public goods. It was disproven by data before it was published. I am sure there are some hyper specific examples where it has happened as described, but as a “fact” about the world and as a justification for any course of action, it’s highly suspect.
https://aeon.co/essays/the-tragedy-of-the-commons-is-a-false...