I don't think you need to be sad to write a sad song.
To understand is to perceive patterns.