The Unity - 112:4 And no one is equal to Him.
How did they equate others with Allah?
The Cattle/6:94 You have come to Us as one, just as We first created you. You have left behind what we made you imagine. We do not see your intercessors with you, whom you claim to be partners (with God in the decision to be made about you). The ties between you have been severed. Those whom you used to put forward have forsaken you.

The Cow/2:165 There are those who take others besides Allah as gods and love them as they love Allah. But the believers love Allah most of all. If only those wrong-doers knew that when they see the torment, they will realize that all power belongs to Allah and that Allah´s torment is severe!

The Family Of Imran/3:80 Nor does he command you to take the angels and the prophets as gods. Does He ever command you to disbelieve after you have become Muslims?

Mary/19:81 They took gods besides Allah to support them.