I agree that there are a lot of bad Android experiences available, but having chosen the devices I've used very carefully over the years, tbh your experience with an iPhone matches my experience with Android.
I've never had a phone last me less than 4 years, with the exception of I think my razr maxx which had overheating problems and lasted me 2. Since then I've had a Nexus 5, OnePlus 6, and now have a Pixel 6 Pro running Graphene OS. Each has been a great experience.
My old phones are in the closet, but otherwise perfectly functional. My main reason for upgrading is usually for hardware features (camera/screen quality, etc). But I feel like my eyes are getting older faster than screen tech is getting better, so this might be my last phone 😄.