The computer is a perfect analogy to us humans.
There are hardware and operating system/software.
For this to function, it needs current that does not really care what software you install but, should you install software that has viruses, the computer will eventually be corrupted and may shut down.
Same as human, the body is the hardware, the soul is the operating system and the breath is the breath of life given in Gen 2:7.
This breath of life or spirit is that part of God that is in humans that does not really care what thoughts you put inside your head, should you install corrupted thoughts inside your head, it will eventually manifest in your action that may lead to your own demise.
Click the link below to read further: