I have almost the exact opposite experience as you describe: I switched from Android to iPhone a couple of years ago for two reasons: 1) my Google phones (I had a pixel at the time: previously had written it was a Nexus, but it was not) kept bricking; 2) I got an old model iPhone (it was an iPhone 8) to use as my work phone.
The iPhone 8 performed better and had a much better UX than my then-current Nexus. It just wasn't even a fair comparison, really. I upgraded my personal device to the latest iPhone and haven't looked back. I haven't even touched an Android phone since then, and unless something really compelling happens to force it I probably never will again.
Same thing with my laptop, actually: around the same time I decided to give a macbook a go. I haven't regretted it at all.