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 offers to marry Bob.
He was unable to find someone to marry him to receive his inheritance.