good deeds can distract you from God

It's noble to want to do something for God.

It can also be a distraction.

Perhaps Tim Hansel put it best in "You Gotta Keep Dancing"
“We may desire to bring to the Lord our perfect work. We would like to point, when all our work is done, to the beautiful ripened grain, and the bound-up sheaves.
And yet the Lord frustrates our plans, shatters our purposes and lets us see the wreck of all of our hopes, breaks the beautiful structure we thought we were building and catches us up in His arms and whispers to us,
‘It’s not your work I wanted, but you.’”
Good deeds... can actually distract you from God.
We are all infected and impure with sin. When we display our righteous deeds, they are nothing but filthy rags.(Isaiah 64:6)