Best, as far as specs? Gonna be the Asus Zenfone 10 (officially announcing 6/29 but most of the specs have been leaked) and the Sony Xperia 1 V (already available outside the US).
Both will have Snapdragon 8 Gen 2 and plenty of memory and storage. The lower models of Xperia (5 and 10) will also have headphone jacks but somewhat lesser specs.
FWIW the Xperia I V is very very similar to the I IV, it's predecessor. Sony's software support kinda sucks (only 2 years of Android updates, IIRC) but you can likely get a decent deal on last year's phone at this point.
If you're interested in custom ROMs or want something less Google-centric like GrapheneOS, you could also consider the Pixel 4a, 4a 5G, or 5a, depending on your size preferences. They're losing official support now or soon but they're still very good phones, very cheap refurbished, and GrapheneOS should be supporting them for a few more years just fine.