“He who corrects a scoffer gets shame for himself, And he who rebukes a wicked man only harms himself. Do not correct a scoffer, lest he hate you; Rebuke a wise man, and he will love you. Give instruction to a wise man, and he will be still wiser; Teach a just man, and he will increase in learning.
I love this in the Gods Word Translation
Give advice to a wise person, and he will become even wiser. Teach a righteous person, and he will learn more.