The Table Spread - 5:76 "Say, "Do you serve besides Allah those who can neither harm nor benefit you? Allah Hears, Knows."
An example for those who cannot harm or benefit themselves:
Prophet Jonah/10:18 "They leave Allah and serve those who can do them neither harm nor good, and say: "These will intercede for us with Allah". Say: "Do you inform Him of what Allah does not know in the heavens and the earth? He is Most High, far from what you associate partners with."
Prophet Jonah/10:49 "Say: "Except Allah wills, I have no power to harm or benefit even myself. Every community has a term. When their term is over, they will neither be delayed for an hour nor brought forward."

The Heights/7:188 "Say: "I can neither benefit nor harm myself except what Allah wills. Had I known the secret, I would have increased my wealth and no evil would have touched me. I am but a bearer of glad tidings and a warner to a people who believe."

The Jinn/72:21 "Say, "I am not able to do you any harm or benefit."

Ta-Ha/20:88 "He raised for them the image of a braying calf. They said: "This is your God and the God of Moses, but he (Moses) forgot"."
Ta-Ha/20:89 Did they not see that he could give them no answer, nor could he do them any harm or benefit?

The Poets/26:70 "He said to his father and his people, "What do you serve?"
The Poets/26:71 "They said: "We serve the statues; we are devoted to them"."
The Poets/26:72 "He said, "Do they hear you when you call them?"
The Poets/26:73 Or are they able to benefit or harm you?