In a Gresham College video lecture about microbial disease (if only I remembered the title...) the lecturing professor briefly mentions that in Victorian Britain life expectancy was actually "higher than today" when you exclude children and women (who had a great risk of death during pregnancy and birth).
https://www.gresham.ac.uk/watch-now/return-microbes-how-infe...
The video has a text with the words.
Look for
> So, your life expectancy at five, in England, as a male, in 1870 was slightly longer than it is now, which is an extraordinary statistic, slightly shorter then if you were a female.
1870s Britain is not "ancient", but as far as medicine is concerned much closer to that than to modern times. What medicine there was wasn't even available to most people. They were pretty good with "physical" things like broken bones by then, but anything concerning microbes probably wasn't much better than what was done a thousand years earlier.
Obviously, as you point out, we don't have statistics from ancient times, only some hints, but that is the same for people making the claim about the short average life spans (without the little detail about infant and women mortality).
There also is the question of how meaningful it is to average over vastly different sections of the population (what you did and how you lived and what you ate, access to good water, hygiene), or times of famine or war.
Some related discussion, reddit, but the heavily moderated AskHistorians subreddit: https://www.reddit.com/r/AskHistorians/comments/12o4py/what_...
There we see the lower life expectancy of early agricultural societies vs. hunter-gatherers (ignoring their high number of deaths due to violence).
I think all of this also serves to illustrate OPs point about the problem of averages :-) There's just too much important information that is lost.