Car = Depreciating asset
Home = Appreciating asset
Unless you're buying a classic car like a 1961 Ferrari 250 GT or 1969 Chevelle, which generally will appreciate if you take care of it.
So go with the home, if you're able. You're also better off buying a slightly used car over new, you'll generally lose less money.