There has been a few incidents in my life time, where I have seen "church discipline" take place. Once, a young, unmarried girl who had become pregnant, stood in front of the church, and apologized for her sin of fornication. The pastor then gave her a hug, and she was greeted by many people afterward. That girl stopped going to the church soon after. Another time, a man had gotten into a sexual sin, and the pastor admitted that the man had "apologized profusely" in a meeting with just he and the pastor. The man was told he should go through church discipline, and was stripped of his duties in the church. He then got in front of the church members, and apologized for what he had done. The man had a falling out with the pastor some months down the road, and left the church. Where does this idea of apologizing for your sins in front of a church come from?