It's frustrating when you don't get what you want, but the truth is that for every house a buyer looses, there was someone else who either wanted it more or had more money or better terms to offer.
Good luck on the next one.
Buyer Agents are working with buyers. they are not playing games or dumping any offers. They are not in the position to make final decisions on offer acceptance.
My advice is to get a good Realtor to work for you if you are trying to purchase property.