Al-A'raaf • EN-TAFSIR-IBN-ABBAS
﴿ سَآءَ مَثَلًا ٱلْقَوْمُ ٱلَّذِينَ كَذَّبُوا۟ بِـَٔايَٰتِنَا وَأَنفُسَهُمْ كَانُوا۟ يَظْلِمُونَ ﴾
“Evil is the example of people who are bent on giving the lie to Our messages: for it is against their own selves that they are sinning!”
(Evil as an example are the folk who denied Our revelations) Muhammad (pbuh) and the Qur'an, if their example is as that of a dog, (and were wont to wrong themselves) to harm themselves by being tortured.