2019 or 2021 Nissan versa worth it?

I was faced with a similar situation in 2012. I needed a new car for my youngest daughter to drive at school and found a 2 year old Cavalier with 14,000 miles on it. I checked the CarFax in it and it was maintained by a dealer and all information was available. Still, I was concerned. My oldest daughter said that many of her friends bought a cheap car when they graduated from college to get them through a couple of years then bought something they liked more and could then afford. The Cavalier worked out well and maybe this Versa will too.