Matthew 18:17
Matthew 18:17 AMP
If he pays no attention to them [refusing to listen and obey], tell it to the church; and if he refuses to listen even to the church, let him be to you as a Gentile (unbeliever) and a tax collector. [Lev 19:17; Deut 19:15]