If anyone is interested in a good analysis of this plus the Maya and Easter Islanders (among some others), there's a book by Jared Diamond called "Collapse: How Societies Choose to Fail or Succeed":
https://en.wikipedia.org/wiki/Collapse:_How_Societies_Choose...