he tried to distract himself from the agonizing pain he was suffering by gazing at the stars in what should have been a truly magnificent desert sky above him had its beauty not been clouded by excruciating pain .