Bob finds out that he will lose his inheritance if he is not married.
Bob is so grateful he gives his friend a reward
Bob's friend tells him to give up hope because no one will ever marry him.
Bob's friend offers to marry Bob.