Where did mental illnesses come from according to the Bible? How is God justified from allowing such miseries to exist?

Now, where did depression even come from? Does the Bible mention anything about it? The Bible says that when God first made humans, they were perfectly healthy, both mentally and physically because they were created in God’s very own image and likeness.

Genesis 1:27 New King James Version (NKJV)
27 So God created man in His own image; in the image of God He created him; male and female He created them.

In God’s image, humanity was assured mental peace and emotional satisfaction! There wasn’t a tint of suffering that could haunt a soul! But, when God warned the first humans not to eat of a certain tree that offered both the knowledge of good and evil lest they invite death; Adam and Eve, the first humans disobeyed His instruction.

They obeyed a talking serpent’s temptation. Now, this serpent did not represent a literal snake which just so happened to have a magical ability to talk, but this strange figure represented an external evil that sought to harm God’s beloved children.

And the serpent made God to be a liar in front of Adam and Eve, he called God’s warning a lie. This being was not just a snake, he was primarily a liar.

Genesis 3:4 New King James Version (NKJV)
Then the serpent said to the woman, “You will not surely die.

So, when Adam and Eve ate of the fruit, they no longer reflected God, but reflected the image of this lying serpent. They became like the one they obeyed. God could no longer recognize them! And when God first asked Adam what had happened, Adam’s response gave evidence to a corrupt nature.

Genesis 3:11-12 New King James Version (NKJV)
11 And He said, “Who told you that you were naked? Have you eaten from the tree of which I commanded you that you should not eat?”
12 Then the man said, “The woman whom You gave to be with me, she gave me of the tree, and I ate.”

When God asked Adam if he disobeyed Him, instead of humbly saying sorry to God, Adam blamed Him for making Eve as she was the one who encouraged Adam to eat of the forbidden tree.

This means that through that act of disobedience, Adam invited imperfection to the human nature. His mistake corrupted the human nature and thus, it became now possible for even mental illnesses to latch onto Adam’s descendants.

Yet, at the end of it all, God covered their nakedness with the skins of an animal. Blood had to be shed for God to cover them. This pointed to how one day God will provide, by shedding the blood of an innocent being who would bring restoration to what we lost, that innocent being is Jesus Christ, the God who sacrificed Himself for you.

Genesis 3:21 English Standard Version (ESV)
21 And the Lord God made for Adam and for his wife garments of skins and clothed them.