وَلَوْلَا نِعْمَةُ رَبِّى لَكُنتُ مِنَ ٱلْمُحْضَرِينَ Qur’an As-Saffat (37:57)Walawl a niAAmatu rabbee lakuntu mina almu hd areen a
And he gratefully acknowledges his short-comings: "I should have been a sinner just like this, but for the grace of Allah!" He sees that if he had erred it would have been no excuse to plead the other man's example. He had Faith and was saved, to walk in the path of righteousness.