hand (one) a lemon
To give or sell something to one without revealing that the item is not a good as it seems. Considering how often that car breaks down, I think the dealership handed you a lemon.
hand someone a lemon
pass off a substandard article as good; swindle someone.