We may not consider God to have a heart and soul like man yet He does,but the difference is man has a free will and at times chooses unrighteousness while God is always righteous and holy!(Genesis 2:7) 7 And the Lord God formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a living soul.,(Psalm 11:5).
Here are words from the book of Jeremiah to show us God has a heart and soul,and how He will one day gather His people back to Him(Jeremiah 32:37-41). 37 Behold, I will gather them out of all countries, whither I have driven them in mine anger, and in my fury, and in great wrath; and I will bring them again unto this place, and I will cause them to dwell safely:38 And they shall be my people, and I will be their God:39 And I will give them one heart, and one way, that they may fear me for ever, for the good of them, and of their children after them:40 And I will make an everlasting covenant with them, that I will not turn away from them, to do them good; but I will put my fear in their hearts, that they shall not depart from me.41 Yea, I will rejoice over them to do them good, and I will plant them in this land assuredly with my whole heart and with my whole soul.
The spirit and soul are one and the same,it is our soul(spirit)that returns unto God when we pass away as read when Rachel died giving birth to her second son(Genesis 35:16-20), 16 And they journeyed from Bethel; and there was but a little way to come to Ephrath: and Rachel travailed, and she had hard labour.17 And it came to pass, when she was in hard labour, that the midwife said unto her, Fear not; thou shalt have this son also.18 And it came to pass, as her soul was in departing, (for she died) that she called his name Benoni: but his father called him Benjamin.19 And Rachel died, and was buried in the way to Ephrath, which is Bethlehem.20 And Jacob set a pillar upon her grave: that is the pillar of Rachel’s grave unto this day. (Ecclesiastes 12:6-7). 6 Or ever the silver cord be loosed, or the golden bowl be broken, or the pitcher be broken at the fountain, or the wheel broken at the cistern.7 Then shall the dust return to the earth as it was: and the spirit shall return unto God who gave it.