There's a process to follow when a brother is caught in sin, before expelling him.You are misreading those verses brother.
God sits in ultimate judgement of everyone's actions but that doesn't mean we cant tell someone when they are doing wrong. In fact we have an obligation to do so.
1 Corinthians 5:11-13
11But now I am writing to you that you must not associate with anyone who claims to be a brother or sister [a] but is sexually immoral or greedy, an idolater or slanderer, a drunkard or swindler. Do not even eat with such people. 12What business is it of mine to judge those outside the church? Are you not to judge those inside? 13God will judge those outside. “Expel the wicked person from among you.”