الآية رقم (10) - وَلَقَدِ اسْتُهْزِىءَ بِرُسُلٍ مِّن قَبْلِكَ فَحَاقَ بِالَّذِينَ سَخِرُواْ مِنْهُم مَّا كَانُواْ بِهِ يَسْتَهْزِؤُونَ

(10) - (And already were messengers ridiculed before you, but those who mocked them were enveloped by that which they used to ridicule.)

Allah (swt) gives an example of this mocking and ridicule which happened to the Prophet Noah (PBUH):

 وَأُوحِيَ إِلَى نُوحٍ أَنَّهُ لَن يُؤْمِنَ مِن قَوْمِكَ إِلاَّ مَن قَدْ آمَنَ فَلاَ تَبْتَئِسْ بِمَا كَانُواْ يَفْعَلُونَ (36) وَاصْنَعِ الْفُلْكَ بِأَعْيُنِنَا وَوَحْيِنَا وَلاَ تُخَاطِبْنِي فِي الَّذِينَ ظَلَمُواْ إِنَّهُم مُّغْرَقُونَ (37) وَيَصْنَعُ الْفُلْكَ وَكُلَّمَا مَرَّ عَلَيْهِ مَلأٌ مِّن قَوْمِهِ سَخِرُواْ مِنْهُ قَالَ إِن تَسْخَرُواْ مِنَّا فَإِنَّا نَسْخَرُ مِنكُمْ كَمَا تَسْخَرُونَ (38) فَسَوْفَ تَعْلَمُونَ مَن يَأْتِيهِ عَذَابٌ يُخْزِيهِ وَيَحِلُّ عَلَيْهِ عَذَابٌ مُّقِيمٌ

(And it was revealed to Noah, “None of your people will believe except those who already have. So do not be distressed by what they have been doing. (36)  And build the Ark under Our (watchful) Eyes and directions, and do not plead with Me for those who have done wrong, for they will surely be drowned.” (37) So he began to build the Ark, and whenever some of the chiefs of his people passed by, they mocked him. He said, “If you laugh at us, we will (soon) laugh at you similarly. (38) You will soon come to know who will be visited by a humiliating torment (in this life) and overwhelmed by an everlasting punishment ˹in the next˺.”) (Hud: 36-39)

They would mock and laugh at him when he was building the ark. They had also made fun of the Prophets Soleh, Shu’aib, Hud, Abraham, Joseph and all the other Messengers. As such, Allah (swt) consoled the heart of His beloved Prophet (saws) in this verse.