I had my XS for 3 years and the battery capacity was at 79% when I traded it in on my 13 Pro.
I don't worry/think one bit about how I charge the phone, and everything I did with that phone was "wrong" according to the experts. I discharged it clear to shutdown many times, randomly topped off the charge throughout the day, exposed the phone to extreme high temperatures/direct sunlight causing overheat shutdowns numerous times, charged/left it overnight on a wireless Qi charger every night, always charged it in a case, etc. I'm doing all the exact same things with my 13 Pro now, except I'm using a MagSafe wireless charger overnight instead of a Qi charger.
3 years is the longest I've kept an iPhone yet, so if I get three good years out of a battery I'm fine with that. If I decide to keep one longer, I don't mind paying for a battery replacement every 3 years if it means I don't have to obsess over how I charge it, what adapters I use, only dropping to 40% and not going above 80% and all that other nonsense. If I'm on a long driving trip and have my phone plugged in to use Maps or CarPlay or whatever, there's not a chance in the world that I'm going to worry about the charge going over 80% and plugging/unplugging it to baby the battery. The phone is there to serve me, not vice-versa.