I've had a lot of cars because I've had A LOT of bad luck with cars. I had a low mileage Corolla that was a lemon, probably the only Corolla lemon that has ever existed.
Where I live Hondas and Toyotas cost a fortune and used ones are over valued, IMO. I was willing to pay the premium once, but after my Corolla died of mysterious causes at only 5 years old and about 100k miles, I wasn't willing to pay that premium again.
I grew up with my best friend's family owning a Chevy dealership, and I've had pretty good luck with Chevy's. My first car was a used Sunfire and it held up really, really well to A LOT of abuse. It mainly died because I was a broke student and never rust proofed it.
I now have a Chevy Sonic hatchback and it's probably me favourite car that I've ever had. It's like a Honda Fit, but jacked up with a lot of luxury features. It's like a luxury SUV, just miniaturized.
Granted, we have the fancy package with all the bells and whistles, which cost us no premium because used Chevy's don't hold much value so higher level trims don't cost much more once they're used, unlike Toyotas and Hondas where the value of every feature carries over into the used market here.
I firmly agree with everyone about hatchback, it's a game changer and I would never go back to a trunk, my Sonic even has a false floor that raises the floor of the trunk so I don't have to bend, and makes the whole rear flat when the seats are down, and then underneath the false floor is storage. It's a really nice feature, probably my favourite feature of the car as I'm disabled and little cars tend to have very low trunks.
Corollas do come in hatchback, at least they existed in very specific markets back when I was looking at them in 2019, but they were over 40K and I was not paying that for a car, not when I could get a low mileage Sonic for 11K.
The Sonic isn't driven much except for two annual 30+ hr road trips and it's an absolute pleasure to drive for those. And we can pack A LOT into that tiny little car because of the hatchback.
I wouldn't consider it a car that I expect to last forever, but I live in very rusty regions, by the ocean in the summer and in a heavily salted region in the winter, so I don't bank on extreme longevity. Even then, replacing a Chevy more often here still costs less than buying one new or newish Toyota or Honda at the current prices.
So look at your local market and see what makes most sense for you.