I personally don't think what the dealer paid matters. If a car is desirable, a few are available, we're going to sell for as much as possible.
If a car is undesirable, and many are available and we need to move them, we will sell them for a loss.
I don't blame people for buying cars we sell for at a loss (although sometimes I wonder why these people don't stop and wonder why this car is so heavily discounted). And they shouldn't blame us for charging more for something many people want and is in short supply.