Some may say that they are Christians simply because they believe. Others say that the proof of their Christianity is in what they do. This can lead to cheap grace on one hand and legalism on the other. James is saying it is impossible to have one without the other.
James 2:18