Proverbs 6:22 in the King James Version
When thou goest, it shall lead thee; when thou sleepest, it shall keep thee; and when thou awakest, it shall talk with thee.
Context
21 Bind them continually on your heart. Tie them around your neck.
22 When you walk, it will lead you. When you sleep, it will watch over you. When you awake, it will talk with you.
23 For the commandment is a lamp, and the law is light. Reproofs of instruction are the way of life,