My first and only iPhone became unusably slow with a major OS upgrade about 2 years into its life. I haven't bought an Apple product since.
I don't like Google either, but I've had several Galaxy phones since then and every one has lasted until I was ready to replace it on my own schedule. My current one is 2.5 years old and feels no worse off than the day I bought it.