Psalm 119:148 says, “My eyes are awake through the night watches, that I may meditate on Your word.” Psalm 63:6 says, “When I remember You on my bed, I meditate on You in the night watches.”
The last thing we think about before we go to sleep, will carry on in us throughout the night. Have you ever woken up in a bad mood? You can attribute it to your last thoughts. That is what Paul wrote about in Philippians 4:8.
It says, “Finally, brethren, whatever things are true, whatever things are noble, whatever things are just, whatever things are pure, whatever things are lovely, whatever things are of good report, if there is any virtue and if there is anything praiseworthy—meditate on these things.”
David understood how essential his thoughts were. Psalm 4:4 says, “Be angry, and do not sin. Meditate within your heart on your bed, and be still.” He was being hunted by Saul to kill him. Verse 8 says, “I will both lie down in peace, and sleep; for You alone, O Lord, make me dwell in safety.”