This is a poor rule of thumb. In reality these things depend entirely on the circumstances.
That is how hundreds of millions of people do it here in Europe.
(Yes, I'm a secondhand car person myself, but heavy car commuters tend to buy new or even lease because the quality of car affects the quality of life for hours a day)