I did not avoid the topic of church discipline among the members of an assembly. I just said that this particular verse you used (1 Timothy 5:20) was not the one that talked about that subject. Those who were to be "rebuked before all" were specifically the ELDERS in this context, which Paul had just mentioned having an accusation brought against THEM. THEY were the ones who were to be "rebuked before all, that others might fear".
Those in the church were NOT to rebuke an elder, unless they had two or three corroborating witnesses that could accuse the person. If the church met this requirement, then they could rebuke the elder before all. One who ministered to the congregation was supposed to be an "example to the flock". When that example broke down into error or sin, Paul was proscribing the remedy for that situation.
Your text from 1 Corinthians 14:23-25 that speaks of an unbeliever coming in and being "judged of all" is not speaking about church discipline being applied to them. The word "judged" in that text means for that unbeliever or the unlearned to be "discerned by all", or "made manifest" to all. In fact, "unbelievers" or the "unlearned" who are not part of an assembly are never to be disciplined by the church. That is GOD'S job. As Paul said in that notable case of the man being removed from the fellowship for fornication, "For what have I to do to judge them also that are without? do not ye judge them that are within? But them that are without God judgeth. Therefore, put away from among yourselves that wicked person." (1 Corinthians 5:12-13). Paul said it wasn't his business to judge those who were outside the assembly.
The church was to maintain a righteous reputation by judging those within its own fellowship (which had its own proscribed method for this). But those who were outside of that fellowship, GOD would take care of judging them if necessary. That is why rebellious members of each individual fellowship are to be finally "put away" after several private admonitions have not worked - to allow God to deal with them as separated from the fellowship. If they repent, well and good; scripture lays out procedures for restoration as well.
I simply showed you that you were not correct by saying in the church there should be no judging or exposing of sin etc and consider this also,there are many examples
2 Corinthians 12: 21. And lest, when I come again, my God will humble me among you, and that I shall bewail many which have sinned already, and have not repented of the uncleanness and fornication and lasciviousness which they have committed.”
Abs when some prophesied in the meetings the ones hearing it in a church meeting would be judged of all and convinced. This prophesy can also convict believers as well or those in secret sin.
Another section to consider
“ Acts 20: 29. For I know this, that after my departing shall grievous wolves enter in among you, not sparing the flock. 30. Also of your own selves shall men arise, speaking perverse things, to draw away disciples after them. 31. Therefore watch, and remember, that by the space of three years I ceased not to warn every one night and day with tears.”
done among believers in gatherings.
And
“ Titus 1: 10. For there are many unruly and vain talkers and deceivers, specially they of the circumcision: 11. Whose mouths must be stopped, who subvert whole houses, teaching things which they ought not, for filthy lucre's sake. 12. One of themselves, even a prophet of their own, said, The Cretians are alway liars, evil beasts, slow bellies. 13. This witness is true. Wherefore rebuke them sharply, that they may be sound in the faith; 14. Not giving heed to Jewish fables, and commandments of men, that turn from the truth.”
and
2 Timothy 4: 2. Preach the word; be instant in season, out of season;
reprove, rebuke, exhort with all longsuffering and doctrine.”
and
“ 1 Timothy 1: 3. As I besought thee to abide still at Ephesus, when I went into Macedonia, that thou mightest charge some that they teach no other doctrine,”
And
1 Corinthians 5: 1. It is reported commonly that there is fornication among you, and such fornication as is not so much as named among the Gentiles, that one should have his father's wife. 2. And ye are puffed up, and have not rather mourned, that he that hath done this deed might be taken away from among you. 3. For I verily, as absent in body, but present in spirit, have judged already, as though I were present, concerning him that hath so done this deed, 4. In the name of our Lord Jesus Christ, when ye are gathered together, and my spirit, with the power of our Lord Jesus Christ, 5. To deliver such an one unto Satan for the destruction of the flesh, that the spirit may be saved in the day of the Lord Jesus. 6. Your glorying is not good. Know ye not that a little leaven leaveneth the whole lump? 7. Purge out therefore the old leaven, that ye may be a new lump, as ye are unleavened. For even Christ our passover is sacrificed for us:”
exposing sin in the church is always needed. And then that sin rebuke before all. This verse may apply to elders but also to all in the gathering. This is basic in church life.
If a brother gets up and says a false prophesy that is to be judged before all as 1Cor 14 says. Let the other judge. And if a person speaks false doctrine charge them before all not to do so and exhort and convince the gainsayers eith sound doctrine .
Etc