Indeed. Simple formula for minimizing car expenses: Buy a used (3-5 yr old) Honda or Toyota sedan. Drive it until total annual cost of repairs exceeds the cost of another used Honda/Toyota, and/or it falls apart. Repeat.
Seriously, it's not always just about spending the least.
As someone who remembers their first high-school vehicle too well, there's value in a level of reliability.