Galatians 2:14

But, when I saw that they were not walking uprightly according to the truth of the Gospel, I said to Cephas in presence of them all, "If you, being a Jew, live as do the gentiles, and not as the Jews, how do you compel the gentiles to live as do the Jews?"

Matthew 18:15

"And, if your brother sin against you, go show him his fault between you and him alone. If he hear you, you gained your brother;

1 Timothy 5:20

Those who sin reprove before all, that the rest also may have fear.

Treasury of Scripture Knowledge

Summary

Open rebuke is better than secret love.

Bible References

General references

Matthew 18:15
"And, if your brother sin against you, go show him his fault between you and him alone. If he hear you, you gained your brother;
Galatians 2:14
But, when I saw that they were not walking uprightly according to the truth of the Gospel, I said to Cephas in presence of them all, "If you, being a Jew, live as do the gentiles, and not as the Jews, how do you compel the gentiles to live as do the Jews?"
1 Timothy 5:20
Those who sin reprove before all, that the rest also may have fear.