Yes, the Bible talks about the unconscious mind.Â For example, I John 3:19-21 says:
“(19)Â And hereby we know that we are of the truth, and shall assure our hearts (unconscious minds) before him. Â (20)Â For if our heart (unconscious mind) condemn us, God is greater than our heart (unconscious mind), and knoweth all things. Â (21)Â Beloved, if our heart (unconscious mind) condemn us not, then have we confidence toward God.”
Note that the Bible talked about the unconscious mind way before Freud.