Proverbs 9:6-10
“Forsake foolishness and live,
And go in the way of understanding.
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;(see also: Prov. 15:12; Matt. 7:6)
Rebuke a wise man, and he will love you. (see also: Ps. 141:5; Prov. 10:8) 
Give instruction to a wise man, and he will be still wiser;
Teach a just man, and he will increase in learning. (see also Matt. 13:12)
The fear of the Lord is the beginning of wisdom, (see also Job 28:28; Ps. 111:10; Prov. 1:7)
And the knowledge of the Holy One is understanding.”