There is only one God.  James discusses the heart revealed by a self-sovereign person.