Once, Lady Peldarbum said to Jetsun Milarepa:
When I meditated on the ocean,
My mind was very comfortable.
When I meditated on the waves,
My mind was troubled.
Teach me to meditate on the waves!
The great yogi responded:
The waves are the movement of the ocean.
Leave them to subside by themselves in its vastness.
Thoughts are the play of pure awareness. They arise within it, and dissolve back into it. To recognize pure awareness as where your thoughts come from is to recognize that your thoughts have never come into existence, remained, or ceased. At that point, thoughts can no longer trouble your mind.