as he lay prostrate on the ground , hoping against hope for someone to find and help him , he prayed to god , should he survive lucifers attempt on his soul , he would devote the remainder of his life to the betterment of humankind .