The $34,000 figure (2019) is the average for all new consumer passenger vehicles, including SUVs, trucks (eg F-150), luxury, etc.
A typical mass market vehicle will more often be in the $22,000 to $26,000 range. From a Honda Civic around $19k, to high volume trucks around $26k-$32k (all base model prices). The Ford Explorer is one of the only vehicles on the top 20 best selling list where the base model well exceeds $30,000; it starts at $36k, versus the F-150 that starts at $28k.
My car cost ~$20k new, and I could sell it for $3-5k, so I'm already ahead if I sold and bought another $10k car today.
Buying a new car only really makes sense if you're really interested in cutting edge technology or are very particular in the options you want. You can't really get a reasonable electric car used, so new is going to be your best bet there. However, you will pay more than if you buy a quality used car.