I use the FP3. It's an old device but I find it very responsive, and keeps up with what I need it to do personally. I like it, but don't like Android. I wish the device had more RAM though.
The FP5 looks promising (and big 😳) the only turn offs for me are no 3.5mm headphone jack, and the price could do with another 150-200 off at least. Since FP is a niche company with some special supply chain arrangements, I think this price is the best we'll get for now (unless you trade in an old device for recycling for money off), but it's still expensive.
If you value the ability to own and repair your device, the knowledge that people further down in the supply chain get paid a little extra when they're collecting materials for Fairphone, and that your device will very, very likely get supported for the full time they claim (and even longer in the case of the FP2), then it's probably worth it.
Otherwise, a new/recent Pixel (eligible to recieve GrapheneOS updates) is another very good option.
Regardless of what device you choose, if you want to keep your next phone for 10 years, you'll want a lot of onboard storage - but keep as much things as possible on an SD card. This is to avoid burning out your onboard NAND, since it has a finite lifespan and not replaceable.
Pixels don't support SD cards AFAIK, so if you go for one of them I'd recommend going for the highest builtin storage that you can afford (especially if it's a used one)