The mindset determines joy and sorrow