Ezra 9, 10
Ezra as a priest was pierced in his heart because the exiles had so fallen from God’s standards of conduct, especially in their adopting the practices of the heathen nations. He was openly undone and publicly wept and prayed before the Lord. His remorse was contagious … the leaders picked up his spirit and a large crowd gathered. They too began to weep before the Lord, establishing an attitude of contrition that paved the way to repentance.
Leaders and parents all provide the example for their followers in what to love and what to hate. Because sin can so easily devastate lives, their open distaste and remorse for it can become the righteous influence necessary for holy living in their followers.
When correcting children, open remorse is a powerful deterrent to ungodly living.