Jesus rebuked His Apostles on more than one occasion. The Church's mission is to bring people to salvation, to see and love them as God's children and to support them in overcoming sin and temptation. It's not there to tolerant sin, make people "feel good" or to give false reassurance. 

2 Timothy 4:2: "Preach the word; be ready in season and out of season; reprove, rebuke, and exhort, with complete patience and teaching." 

1 Timothy 5:20:  "As for those who persist in sin, rebuke them in the presence of all, so that the rest may stand in fear."

James 5:20: "Let him know that whoever brings back a sinner from his wandering will save his soul from death and will cover a multitude of sins."