Dreams are messages from God to the Mind. It can also be an unconscious activity. Both ways of interpreting are valid.
The maze denotes passing through one's life.
In a dream, the color blue represents distress, depression, enmity, or it could mean a calamity. The color red in a dream denotes joy, celebration, spirituality or dominion. Red means the world or material gains. Or vice versa, blue is a positive symbol while red can be a negative symbol.
Maze to the library represents, ignorance or obscurity to knowledge, house of worship, a mosque, worship or a marketplace. It also represents repentance, guidance, richness, healing, or marriage.
Other parts of the maze means other possibilities of life. Though it not being that of the knowledgeable library.
The meaning of your dream is to turn to God and the true religion. To not dwell in life without guidance and to be lost.