The Night Journey - 17:15
Whoever is guided is guided for himself. Whoever goes astray goes astray to his own detriment. No one bears the burden of another. We do not punish anyone without sending a messenger
The punishment of the previous generations when they wronged:
The Spider/29:40
And We seized them all with their sins. And We sent upon some of them a mad storm, and a terrible sound seized some of them, and We drove some of them into the earth and drowned some of them. It was not Allah who wronged them; they wronged themselves.