DN 26 Cakkavatti Sutta, ‘The Wheel-Turning Monarch’
link https://study.jhana.info/suttas/dn26
the king neglects the people and their lifespan reduces to 10 years. There is a general reduction in skilfulness and increase in suffering, before the cycle returns and beings evolve to lifespans lasting 80,000 years