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 When a Section of them said: "Why do you admonish a people whom God is about to destroy or to punish severely?" They replied: "To clear ourselves of blame before your Lord, and that they may fear God. 164 And when they forgot that whereof they had been reminded, We rescued those who forbade wrong, and visited those who did wrong with dreadful punishment because they were evil-livers. 165 And then, when they disdainfully persisted in doing what they had been forbidden to do, We said to them, "Be as apes, despised!" 166 And remember when your Lord announced the command that till the Day of Resurrection I will certainly send such oppressors against them, who will inflict them with a dreadful punishment; indeed your Lord is swift in meting out punishment; and indeed He is Oft Forgiving, Most Merciful. 167 And We dispersed them through the earth in communities - some were righteous, others were not -and We tested them with prosperity and adversity that they may turn back (to righteousness). 168 Then others succeeded them who inherited the Book and availed themselves of the vanities of this lower world, saying: 'It will be forgiven us' But if similar vanities came their way, they would again take them. Have they not taken the covenant of the Book, which they have studied, to tell nothing of Allah except what is true? Surely, the Everlasting Life is better for the cautious, do you not understand! 169 As for those who hold fast to the Book and are steadfast in prayer, We do not waste the wage of the righteous. 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