The apostle calls double-minded those who do not wish to live uniformly, but are constantly led and carried away by the pressure of people, and do not dwell in the house of the Lord with one mind, for God settles "those of one mind in a home" ("the solitary in a home") (Ps. 68:6). And that life is also called "soul" is evident from the words of the prophet: "skin for skin, and all that a man has he will give for his soul" ("skin for skin, and a man will give everything he has for his life") — that is, for his life (Job 2:4).
Source: Commentary on James