There had been a time where the creation of music for pleasure was ill-advised. In the Middle Ages, composing music was primarily for the benefit of the Church. Many features of Western music were first developed for the benefit of the Church, like notation. The Renaissance built on the techniques practiced during the Middle Ages, and music began to be composed outside of the Church.
John Dowland was an English Renaissance composer and Lutenist. The most well-known Ayre of 16th century England was his masterpiece, Flow my Tears. Like many of his songs, its about the grief of a melancholy spirit. Enjoy.