Arcana Coelestia #35
35. Man has two inherent powers of will and understanding. When the understanding is governed by the will they then constitute one mind and so one life; for what a person in that case wills and does he also thinks and intends. But when the understanding is at variance with the will, as it is with people who claim to have faith and yet live otherwise, then a mind previously one is split in two. One half seeks to transport itself into heaven, while the other inclines towards hell. And because the will is what accomplishes everything, the whole man would rush straight into hell unless the Lord took pity on him.
Spirit of God
'The spirit of God,' as in Genesis 1:2, signifies the divine mercy of the Lord.
'The spirit of God' denotes good from an interior level, so from the divine. The spirit of God is what proceeds from the divine, so from good itself, because the divine is good itself, and what proceeds from it is truth within which is good. This is what 'the spirit of God' signifies in the Word, because the spirit itself does not proceed, but the truth itself within which is good, the spirit being the instrument which produces it.
(References: Arcana Coelestia 19; Divine Love and Wisdom 100)