Abraham did not cease to pray for the deliverance of the sinners even after the Shekinah had removed from him. But his supplications and his intercessions were in vain. For fifty-two years God had warned the godless; He had made mountains to quake and tremble. But they hearkened not unto the voice of admonition. They persisted in their sins, and their well-merited punishment overtook them. God forgives all sins, only not an immoral life. And as all these sinners led a life of debauchery, they were burnt with fire.
Divine Presence of Abraham
Legends of the Jews 5:165