Text: However, there was nothing for it but to hope for the best.
Entailment: However, all they could do was hope for the best.
Contradiction: There was no option but to give up hope.