That depends on preference really. Want a flagship Android? Get a Samsung. Prefer iOS? Stuck in the Apple eco-system? Get an iPhone.
Personally I’m stuck with an iPhone, an Apple Watch, AirPods Pro and a Macbook Pro. Why? Because the software and eco-system just works. When I write a note on my Macbook, it shows up on my iPhone. When I need to quickly send something from my iPhone to my Macbook, AirDrop is right there. When I want to listen to music on my Macbook instead of phone, my AirPods Pro connects to the Macbook instead of iPhone, and I don’t need to re-pair them every time.