This quote means that when you set a goal and achieve it, or when you take on a creative task, you will experience feelings of happiness. Achievement and creative effort can give you feelings of joy and excitement, and it is those feelings that bring happiness.