<prompt> Translate the following text to SwahiliAt ten oclock hope deserted him, and he flung himself on the bed to seek consolation in sleep.  <response>: Wakati wa saa kumi matumaini walimwacha, na yeye mwenyewe kutupwa juu ya kitanda kutafuta faraja katika usingizi. 