Mathematical Proof that Cooperative, Generous Societies Succeed in the Long-Term While Selfish, Competitive Ones Fail