Depends on your 'needs' and 'wants'.
For me there's a ~four-way set of compromises: Stock (or near-stock) Android, Headphone Jack, Excellent Battery Capacity, Quality components.
Unfortunately there's nothing that meets all four of those requirements.
The Google Pixel 2 is probably as close as it gets, but has no headphone jack - which is a deal breaker for me.
After that, it's down to either the Samsung Galaxy range (S8, S8+, Note8) which all have the Bixby button, or LG V30/V30+.
Both of these are unfortunately running heavily modded versions of Android that are well out of date, and the LG V30/V30+ have had issues with screen quality and general availability.
So, I have a Galaxy S8+ - not my first choice, and I'm not really happy with it (too much Samsung crapware on it), but it's better than the alternatives.