I just got mine in June it’s not very old. Once I got the IOS 17 update it’s been making my phone and a shit ton of other over heat and not hold a charge. It’s the update. I really wouldn’t recommend getting the newest IPhone because it has had a ton of issues. Literally anything from glitching out to not charging. Going with a 14 or even just getting another 13 is a smarter option until all the kinks and bugs are worked out with the newest phones.
The phone its self is fine it’s the software that’s the problem.