The husband lost a bet to his best friend and had to pay with sex