James is writing to Christian Jews who were scattered because of persecution. They were hated by Jews, and not accepted by Gentiles. James was probably their Pastor at Jerusalem when Stephen was martyred. Fearing for their lives, they left Jerusalem. James encourages them to walk out their faith and not be deceived into thinking God is behind their struggles, trials and persecution.