When you teach the son of a wicked man a good path, you are able through this to annul harsh decrees.
Sefer HaMidos, Repentance, Part I §42