From your brief description, it sounds as if you went right to the Seller's agent. In our area, Illinois, a listing agent is obligated, even when acting as a "dual agent", to present each and every offer made on the property right up to closing. If a Seller rejects an offer, our contracts have a paragraph the Seller signs indicating that they decline your offer. You can and should request that when you tender an offer. Little consolation, I know; but at least you would have known you were in the game.
Someone else mentioned that there may have been a higher offer. If you had a buyer's agent, (1) you would have had a true advocate and (2) they might have counseled you about the situtation and what may have been required to win the deal. Spearating the Buyer and Seller representation ensures each participant has independent advice pertinent to their role.
Sorry your deal want poorly.