James addresses favoritism in the church. James shows that showing favoritism is totally unacceptable with having faith in Christ. In verses 5-11 James gives three reasons why this is unacceptable.
Showing favor is a sin because it judges others based on external appearances.