Allaah the Most High said:
… لَٮِٕنۡ أَشۡرَكۡتَ لَيَحۡبَطَنَّ عَمَلُكَ وَلَتَكُونَنَّ مِنَ ٱلۡخَـٰسِرِينَ
… “If you join others in worship with Allaah, (then) surely, (all) your deeds will be in vain, and you will certainly be among the losers.”
{Sūrah Az-Zumar 39:65}