Surah Al-Qamar, ayah 3

54:3

وَكَذَّبُواْ وَٱتَّبَعُوٓاْ أَهۡوَآءَهُمۡۚ وَكُلُّ أَمۡرٖ مُّسۡتَقِرّٞ ٣

Wakaddhabū wattaba'ū ahwā'ahum wakullu amrim mustaqirr

And they denied and followed their inclinations. But for every matter is a [time of] settlement.