Many gentlemen of the court , tempted by the thought of such a reward , set off in all directions in search of the dog ; but all returned empty-handed to the queen , who , in despair , announced that since life was unbearable without her little dog , she would give her hand in marriage to the man who brought him back .