How could someone live to be 800 years old in the old testament?

People lived 800 or even 900 years. But once man fell very deeply in sin during the flood of Noah, man then lived 70 odd years only.