Proverbs 26:4-5 NKJV
[4] Do not answer a fool according to his folly, Lest you also be like him.
[5] Answer a fool according to his folly, Lest he be wise in his own eyes.
Sometimes we should speak.
Sometimes we should be silent.
Jesus is an example of both.
1 Corinthians 1:30 But of Him you are in Christ Jesus, who became for us wisdom from God-and righteousness and sanctification and redemption-
James 1:5 If any of you lacks wisdom, let him ask of God, who gives to all liberally and without reproach, and it will be given to him.