James is going to call out a sin that had been taking place throughout many Christian Jewish synagogues which is hurting a certain group in the church, namely poor Jewish people who came to see what this Jesus thing was all about.
What was happening was that the congregants were treating the rich visitors with special treatment while the poor got pushed to the side. The message was clear, the poor were to get the same treatment as the world gave them, that is disrespect and poor treatment.
This was unlike the Jesus of the Gospels who elevated the poor and made them citizens of heaven. Perhaps some of the poor never returned and didn’t want anything to do with this kind of Jesus and His people. It was apparent to them that the church was not a safe place.
2:1 My brothers, show no partiality as you hold the faith in our Lord Jesus Christ, the Lord of glory. 2 For if a man wearing a gold ring and fine clothing comes into your assembly, and a poor man in shabby clothing also comes in, 3 and if you pay attention to the one who wears the fine clothing and say, “You sit here in a good place,” while you say to the poor man, “You stand over there,” or, “Sit down at my feet,” 4 have you not then made distinctions among yourselves and become judges with evil thoughts? 5 Listen, my beloved brothers, has not God chosen those who are poor in the world to be rich in faith and heirs of the kingdom, which he has promised to those who love him? 6 But you have dishonored the poor man. Are not the rich the ones who oppress you, and the ones who drag you into court? 7 Are they not the ones who blaspheme the honorable name by which you were called?
8 If you really fulfill the royal law according to the Scripture, “You shall love your neighbor as yourself,” you are doing well. 9 But if you show partiality, you are committing sin and are convicted by the law as transgressors. 10 For whoever keeps the whole law but fails in one point has become guilty of all of it. 11 For he who said, “Do not commit adultery,” also said, “Do not murder.” If you do not commit adultery but do murder, you have become a transgressor of the law. 12 So speak and so act as those who are to be judged under the law of liberty. 13 For judgment is without mercy to one who has shown no mercy. Mercy triumphs over judgment.