And question them concerning the township which was bordering the sea, when they transgressed the Sabbath, when their fish came to them on the day of their Sabbath, swimming shorewards, but on the day they kept not Sabbath, they came not unto them. Even so We were trying them for their ungodliness. 163 And when some asked: 'Why do you admonish a nation whom Allah will destroy or sternly punish' They replied: '(Seeking) a pardon from your Lord, and in order that they may be cautious' 164 So when they forgot the remindings that had been given to them, We rescued those who forbade evil, but We seized those who did wrong with a severe torment because they used to rebel (disobey Allah). 165 So when they took pride in that which they had been forbidden, We said unto them: Be ye apes despised and loathed! 166 And when your Lord announced that He would certainly send against them to the day of resurrection those who would subject them to severe torment; most surely your Lord is quick to requite (evil) and most surely He is Forgiving, Merciful. 167 And We divided them throughout the earth into nations. Of them some were righteous, and of them some were otherwise. And We tested them with good [times] and bad that perhaps they would return [to obedience]. 168 They were succeeded by generations who inherited the Scripture and took to the fleeting gains of this world, saying, "We shall certainly be forgiven." If there came to them similar fleeting gains again, they would take them. Was a pledge not taken from them, written in the Scripture, that they would not say anything but the truth about God? And they have studied whatever is in it. Surely the Home of the Hereafter is better for those who fear Him. Will you not understand? 169 But those who hold fast to the Book and establish prayer - indeed, We will not allow to be lost the reward of the reformers. 170 ۞ And recall what time We shook the mountain over them as though it were a canopy, and they imagined that it was going to fall on them; and We said: hold with firmness that which We have vouchsafed you, and remember that which is therein, that haply ye may fear. 171