Surah Az-Zumar 39:15
فَٱعْبُدُوا۟ مَا شِئْتُم مِّن دُونِهِۦ ۗ قُلْ إِنَّ ٱلْخَـٰسِرِينَ ٱلَّذِينَ خَسِرُوٓا۟ أَنفُسَهُمْ وَأَهْلِيهِمْ يَوْمَ ٱلْقِيَـٰمَةِ ۗ أَلَا ذَٰلِكَ هُوَ ٱلْخُسْرَانُ ٱلْمُبِينُ
So worship what you will besides Him." Say, "Indeed, the losers are the ones who will lose themselves and their families on the Day of Resurrection. Unquestionably, that is the manifest loss."
Translation: Saheeh International
Tafsir
So worship whatever you wish besides Him’ other than Him — herein is a threat for them as well as a declaration of the fact that they do not worship God exalted be He. …
Excerpt from Tafsir al-Jalalayn, commentary on 39:15, via Quran.com. The reader has the full commentary and 9 more tafsirs.