This question already has an answer here:
Purchase price. Not total cost of ownership.
A quote From this article in Flying Magazine (Dated 2012):
Cessna is holding the line on pricing, but the new models still aren’t cheap. The 180 hp 172S, referred to by Cessna as the 172-SP goes for \$307,500 the 160 hp 172R sells for \$274,900.
Many years ago I heard this generalization: "half the cost of an airplane is litigation." And sure, I understand you should not replace a control surface cable with one from Home Depot. But still, these prices are breathtaking.