Not sure where James` quote comes from but I think he speaking about the Lord being a jealous God.