Galatians 2:14

But when I saw that they were not straightforward about the truth of the gospel, I said to Cephas in the presence of them all, "If you, being a Jew, live like a Gentile and not like a Jew, how is it that you compel the Gentiles to live like Jews?

Matthew 18:15

"If your brother sins against you, go and tell him his fault, between you and him alone. If he listens to you, you have gained your brother.

1 Timothy 5:20

Those who continue in sin, rebuke in the presence of all, so that the rest also may be fearful of sinning.

Treasury of Scripture Knowledge

Summary

Open rebuke is better than secret love.

Bible References

General references

Matthew 18:15
"If your brother sins against you, go and tell him his fault, between you and him alone. If he listens to you, you have gained your brother.
Galatians 2:14
But when I saw that they were not straightforward about the truth of the gospel, I said to Cephas in the presence of them all, "If you, being a Jew, live like a Gentile and not like a Jew, how is it that you compel the Gentiles to live like Jews?
1 Timothy 5:20
Those who continue in sin, rebuke in the presence of all, so that the rest also may be fearful of sinning.