That's a heck of an upgrade!
Personally, I upgraded from the iPhone XR to the iPhone 15 Pro.
I agree that transitioning from the iPhone XR to the iPhone 17 Pro Max would be a significant upgrade for the original poster (OP).
The iPhone 17 Pro Max offers all the most significant improvements and future-proofing features for years to come.
It includes Apple Intelligence, visual intelligence, and the beautifully glowing Siri.
The camera capabilities have also improved significantly, with a 48MP sensor, up to 8x zoom macro lenses, Portrait Mode with Depth Control and Camera Control on both sides, Next Generation photographic styles, and a wide-angle camera.
The iPhone 17 Pro Max supports ProRes and Dolby Vision video, spatial photography, and video recording for Vision Pro and VR.
The A19 Pro processor is up to 95x faster than the A12 Bionic, surpassing all other chips that aren’t Apple Intelligence.
The device features Dynamic Island, MagSafe, USB-C with the capability to connect external devices, including storage devices, to record ProRes, and an action button.
The battery life is almost as long as a day without using a charger.
Lastly, the iPhone 17 Pro Max supports iOS 26 updates.
All these features, including call screening, live translation, and everything beyond Liquid Glass, are available.
If you invest in the iPhone 17 Pro Max, you won’t regret it compared to relying on the slow performance of the iPhone XR. I understand that you’ve taken pride in keeping the XR until it’s no longer compatible with iOS updates, thats the way to go!