Thats your experience. I've had the complete opposite. A 4 year old iPhone that still felt as snappy as it did the day I broke it out of the box. Never had an android that felt like that after 6 months.
And Apple have generations of devices that have gotten a full 7 years of support. We still havn't seen a generation of Android do that since Google changed their policy. I sincerely hope it does happen. Competition is better.
But here is a site with some EOL info on Pixel. Pixel 6 support looks like it ends in 3 weeks with a grand total of about 5 years of support.
Compare this with the iPhone 11 that came out in 2019 that will be able to run iOS27 (comes out next week) and the Pixel 6 that came out in 2021.
And the original point was, "why iPhone over cheap android $200." Pixel 6 was a flagship phone with a launch price of $599. You could have gotten an iPhone 13 mini (release in 2021) and for an extra hundred bucks, been supported until at least 2028.