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 a certain nation of them said, 'Why do you admonish a people God is about to destroy or to chastise with a terrible chastisement?' They said, 'As an excuse to your Lord; and haply they will be godfearing.' 164 Therefore, when they forgot that of which they were reminded, We saved those who were forbidding evil, and seized the evildoers with an evil punishment for that which they used to do of evil. 165 And when they persisted in pursuing that which had been forbidden We said: 'Become despised apes.' 166 Then your Lord declared He would send against them he who would oppress them cruelly till the Day of Resurrection. Swift is the retribution of your Lord, yet surely He is Forgiving, the Most Merciful. 167 We split them up into sections on the earth. Some of them are righteous while some of them are otherwise, and We tested them with blessings and misfortunes, so that they might return to the right path. 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 As for those who adhere to the Book and are firm in devotion, We shall certainly not let the wages of those who are upright to go waste. 170 ۞ And recall when We shook the mountain over them as though it were a canopy, and they thought that it was going to fall over them; and We said: 'Hold firmly to that which We have given you, and remember what is in it, that you may guard against evil. 171