There's also the consideration that when Jesus did those works that He did them holy and pure and without sin stain, and for all the right reasons.
When we do our works, they are tainted with sin from the get go and even our motivation is suspect, which makes the works not God's kind of holy in His eyes.
Jesus did His works because He always did what He saw the Father doing.
When someone is doing them as part of working for salvation, their motive is wrong because it's self-centered, not other centered.
It's not done out of godly love from a pure heart but rather as a tool by which to manipulate God into forcing His hand to let that person into heaven. Which invalidates the work as being worthy of being considered salvific.
So doing the right works with the wrong motivation invalidates them.
On rare occasion, I suppose that someone might just be able to accidentally do something out of pure, godly love for the other person that is unstained by self, but I'm guessing that's pretty unlikely and pretty rare.
BTW, what if your list of works acceptable for earning salvation is different from someone else's?
How do you know who's right?
Glad to see you're admitting works are necessary with faith.
Where do you come up with such preposterous nonsense?