Sadly until both parties sign, a contract does not exist.
But you had offered as high as you were prepared to go so it is just bad luck someone offered more.
Spare a thought for the RE agent - depending on his agreement with the vendor he may get zilch after his hard work.
Marg