You still have time.
You’re not too old, you haven’t spent your final chance.
I personally don’t think you have to be sad to write a sad song though. It is true that in the hardest times of our lives we come up with some of the best stuff to write.