Following one’s whims is blamed and forbidden in these verses, for desire corrupts religion, turns people away from the truth and undermines justice. They warn against those driven by their desires and recall that if the truth followed people’s inclinations, the heavens, the earth and all within them would be ruined.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
And never will the Jews and the Christians approve of you until you follow their religion. Say, "Indeed, the guidance of Allāh is the [only] guidance." If you were to follow their desires after what has come to you of knowledge, you would have against Allāh no protector or helper.
And thus We have revealed it as an Arabic legislation. And if you should follow their inclinations after what has come to you of knowledge, you would not have against Allāh any ally or any protector.
And keep yourself patient [by being] with those who call upon their Lord in the morning and the evening, seeking His face [i.e., acceptance]. And let not your eyes pass beyond them, desiring adornments of the worldly life, and do not obey one whose heart We have made heedless of Our remembrance and who follows his desire and whose affair is ever [in] neglect.