Chapter 2 covers two concepts. First, the example of the poor and the rich man shows that how you judge and treat your neighbor will eventually play out in how God judges and treats you. Second, a discussion of faith and works in the context of Abraham's life. Here James is emphasizing the end of Abraham's life where Paul, citing the same incident emphasizes the beginning. This provides an excellent vehicle to compare James and Paul.