Surah Al-Isra 17:59
وَمَا مَنَعَنَآ أَن نُّرْسِلَ بِٱلْـَٔايَـٰتِ إِلَّآ أَن كَذَّبَ بِهَا ٱلْأَوَّلُونَ ۚ وَءَاتَيْنَا ثَمُودَ ٱلنَّاقَةَ مُبْصِرَةً فَظَلَمُوا۟ بِهَا ۚ وَمَا نُرْسِلُ بِٱلْـَٔايَـٰتِ إِلَّا تَخْوِيفًا
And nothing has prevented Us from sending signs [i.e., miracles] except that the former peoples denied them. And We gave Thamūd the she-camel as a visible sign, but they wronged her. And We send not the signs except as a warning.
Translation: Saheeh International
Tafsir
Nothing prevented Us from sending the signs requested by the people of Mecca except that the ancients denied them when We sent such signs and so We destroyed them if We were to send them to these people of Mecca they would deny them and would thus deserve destruction. …
Excerpt from Tafsir al-Jalalayn, commentary on 17:59, via Quran.com. The reader has the full commentary and 9 more tafsirs.