The old Nokia and similar phones were marketed as 'waterproof', but actually IP64/IP65 - e.g no immersion. They would be more correctly identified as 'water resistant'.
IP67/IP68 (the common 'waterproof' today) is much better, allowing immersion at set pressures for set times, however still limitations. This spec would be extremely difficult on the phone designs you've mentioned, if possible at all.
The Cat S42 H+ is one of the few phones I've come across that js actually 'waterproof'.
The real question is, can I use any of the phones in the shower, or swim with them in my pocket? As far as I can tell, the new "waterproof" phones of today won't survive it either, and damage induced this way is not covered by warranty.
Point being, I don't think there's much difference in practice in terms of water resistance between old and new "waterproof" phones.
Additionally, AFAIK all those ratings are defined in terms of fresh water. The phone may survive being dropped in a sink, but won't necessarily survive being dropped into equivalent depth in sea water. Not knowing it almost cost me my Pebble Time a couple years back.
I had my battery replaced along with the screen after my then 5yo device hit the pavement.
The health was at 83%, so not terrible after 5 years, but I figured I'd still do it because it was cheap.
Interestingly the new battery's health is at 91% - possibly because they stopped producing it a few years ago and some capacity was lost in storage.
I used to upgrade my phone because the battery replacement would basically be a discount on buying a new one instead, now I buy a new one when my screen ends up shattered.
It's the same level of skill required to open a laptop to replace components.
Of course replacing an old style battery was 1000 times easier and everybody could do it.