This quote means that it is not possible to be happy and have a positive outlook on life if you are always thinking about negative things. Your overall outlook and mindset shapes your life and what you experience, so if you constantly focus on negative things, you will find it difficult to truly be happy and have a positive life.