@m32s I don't see the part where the agent lied? Someone may very well have told him they'll pay $X and that their budget was $X.
It seems like he was telling you the truth when he told you he wanted a counter offer of $X, and you chose not to counter offer, so he sold it to the offer he had...