Thoughts that resonate with you, will stay to linger in your mind. You may even find yourself repeating the same thought, unconsciously, because you are dwelling on it. This is why we should accept input stimuli that are positive and good. So that we may stay positive. The themes in our dreams at night are continued from those during our daytime. We dream the same themes.