Which iPhone
If you have the SE 3, you're just fine. It already has iPhone 14 features built in. I can play the same amount of games just fine.
If you have anything older than a 6, then yeah. It's time to upgrade. But, even with a 6, it's still reliable.
The Xbox is what I recommend getting