Put it at the end of the failed moment, after the action has finished and the result is clear. Follow it with a brief reaction sound for the loser, then a light laugh to close the beat, so the sequence ends on the reaction instead of the failure.