yeah that's partly why I moved to Apple, I had a pixel 2 (2018) and it ran out of support in 2020 and I was like, the same year iphone XS (2018) was released and it still has support, the pixel 2 still ran fine to me
I've heard android now extends the support but I'm looking at a fairphone