The thing is, 5 years is a stretch if you expect these to reach that many years with no repairs. The battery won't make it so there's that.
My son returned 2 laptops from college and one is from 2006 which needed a new HDD. While we were doing that I upped the RAM and went to SSD so it's now a decade old and still works. The second laptop is from 2009 and it had the same fate on the HDD so it will get a new SSD and then seems pretty current running W10.
You picked the most common models folk go for so I take it you are getting the XP 13 non-touch.
I'm a sophomore in college, and I needed a new laptop. I was thinking about the Xps 13 or MacBook Pro, but the latter is far more expensive. I'll probably only buy it if it lasts me a long time, like 5+ years. Does it? And how is the Xps 13, worth the money? Any other laptop suggestions for college?