Later We commissioned Lot to Prophethood and gave him wisdom and knowledge. (After his best efforts failed to reform the community that indulged in abominations) We saved him from their wrath. Verily, they were a rebellious nation who were given into, and lost in, evil.