The importance of the last waking moment
… The innumerable invisible workers that dwell in man make use of the thoughts that are in his mind when he is on the borderline between waking and sleeping, for thoughts set forces in motion. Take care, therefore, never to go to sleep with negative thoughts in your mind, for they will destroy all the good you may have gained during the day. Whereas if you go to sleep with good thoughts in your mind, they will enhance and improve everything within you, and you will be astonished to find yourself in a state of great peace and light when you wake up.
Obviously, this does not mean that you can live as you please during the day as long as you say a prayer before going to sleep; nor that you can wipe out all the evil deeds of a lifetime on your deathbed. No, it is no good thinking you can shake off your devils so easily: they will always be with you. But it is still very important that before going to sleep you manage to pacify and purify yourself and regain inner balance.
If you have dreams in which you do something reprehensible that you would never do when you were awake, it means that you do not know how to prepare yourself for sleep. Before going to sleep you should get ready as though for a sacred pilgrimage which is bound to bear fruit in the near or distant future.
The Cabbalah tells us that when someone goes to sleep, an unclean spirit attaches itself to his physical body and tries to suggest certain ideas or desires to him; its purpose is to get hold of his body in order to use the vital forces it harbours. But you can defend yourself from unclean spirits by asking for an angel from heaven to look after you and lead you to the divine school on high, where you will study love and wisdom. In this way, you will always have a guardian to watch over your body at night and prevent evil spirits from taking possession of it.
To be continued….