Typically, a new car is considered a bad investment because it loses a big chunk of its value the minute you drive it off the dealer lot. That's unless you bought that new car during the pandemic.
source https://www.cnn.com/2021/07/02/business/money/used-car-prices-price-profit-feseries/index.html