Sure Al-An'aam

6:64

قُلِ ٱللَّهُ يُنَجِّيكُم مِّنْهَا وَمِن كُلِّ كَرْبٍۢ ثُمَّ أَنتُمْ تُشْرِكُونَ

Sag: Allah errettet euch davon und von jeder Trübsal, hierauf gesellt ihr (Ihm) dennoch (andere Götter) bei.

Tafsir 6:64

Say to them, O Messenger, ‘Allah is the One Who rescues you from it and delivers you from every distress. Then you still associate others as partners with Him when you are in good times. What can be more wrong than this?