Isn't that average lifespan? There was a lot of death either in childbirth or during early childhood years. If you filter that data out a bit, adults lived a more comparable age. Still not as good as today, but not 31.
So still worse by whole decades than now.
https://en.m.wikipedia.org/wiki/Life_expectancy#:~:text=Excl....
https://www.worlddata.info/life-expectancy.php#by-population