If someone stuck a 357 in your ear and said “Help those orphans and feed those nuns.”, you would quickly outdo Mother Theresa for good works. Your motivations must be taken into account. Many will say that they cast out demons and spread the Gospel and Jesus will tell those workers of iniquity to depart.
Genuinely good works, those with the right motivation, are the product and not the building blocks of sincere devotion to The Logos or The Law.