It's my version of what my grandma once told me. She said she has a bucket sitting right outside of the bedroom. Every evening she looked into the bucket and put all her negative thoughts in, so she could go to sleep without them. In the morning she would look in the bucket and see it was always empty. She shrugged and moved on. It's a simple trick, but it works for me.