<prompt> Translate the following text to EnglishKwa kuwa yaelekea alikuwa amejiridhisha na kushindwa tangu mwanzo, aliendelea kuwa na uhakika hadi mwisho.  <response>: Since he had probably resigned himself to failure from the beginning, he kept up a confident exterior to the end. 