I hate Apple, but somehow I bought iPhone 13 Mini some time ago. I like how it works, services and everything else is fine and i wanted better camera in smaller package. A bit annoying are some security options but I can live with that. Worse is their support as basic is 1 year warranty and their support is useless in most cases, unless you have to send them a faulty device for repair. Apple accessories are also overpriced and everything 3rd party but fully compatible is also overpriced.
On the other hand, Google won't offer better support and I have no idea if you can buy any reasonable service pack. Android is fine but it loses support much faster than iOS. Android phones in general are left without updates quite fast because there are way too many new devices released each year. I have no idea what about Google but with Samsung, Xiaomi or other popular brands, you can count on 1-2 years of official OS/firmware updates for most models and nothing more. Some updates are not working correctly, but for higher models you can count on better and more often updates.
The Pixel 6 Pro will have a similar camera quality to iPhone 13 Pro. However, iPhone 13 photos look better when there is worse light or at night. This is one of the reasons why I wanted iPhone as camera specs on paper aren't the best but software and lens cause sharper photos when the light isn't the best. I noticed that some Android phones have much better quality after some software updates, so it may change.
Think that smart phone batteries live for ~2 years. If you get less popular phone then you won't replace anything in 2+ years. Apple keeps standards for longer but any replacement will cost much more than for Android phones.
I see it like no matter which way you pick, you can't count on long years without problems. Apple guarantees high level of OS stability and security. It still doesn't guarantee high hardware quality. A better option seems a cheaper phone but more often replaced so you won't spend as much money but will still have something quite new. For me it's just annoying when I have to move all data and configure a new device more often.
At work we buy almost only Xiaomi as it's not much worse than Samsung but similar specifications are significantly cheaper. All phones bought to last 3 years+ are usually replaced within 2 years because something breaks just after warranty, devices lose stability or signal quality, and there are other issues. No matter what brand or series we pick, there is the same story. Like there is no rule about brand or how much you pay, everything may randomly die. Some series are also hard to fix, so even manufacturers are more often replacing whole phones. Less popular series have limited availability of spare parts and are nearly impossible to fix after warranty.
I guess that my post doesn't answer the main question directly. I will only add that I picked iPhone 13 Mini because I wanted a stable device with good camera and smaller size that easily fits any pocket.