Yes, the Bible does tell us that if the problem is not dealt with, we should act, and that there are certain qualifications for a leader that must be met.However, you are very right to say that anything other than forgiveness (which, by definition, is unforgiveness)is a sin.