as he lay in bed , struggling to sleep , he tried to come to terms with his sentence , convincing himself that he would be better off spending time with his wife instead of off getting himself killed .