Al-Hajj 22:12
He invokes instead of Allāh that which neither harms him nor benefits him. That is what is the extreme error.
Ayah 12
يَدْعُوا۟ مِن دُونِ ٱللَّهِ مَا لَا يَضُرُّهُۥ وَمَا لَا يَنفَعُهُۥ ۚ ذَٰلِكَ هُوَ ٱلضَّلَٰلُ ٱلْبَعِيدُ
He invokes instead of Allāh that which neither harms him nor benefits him. That is what is the extreme error.