There are two aspects of Indian Classical Music. One is listening to the ragas and compositions and enjoying the nuances of music. The other aspect involves understanding the meaning of the compositions which can have tremendous influence on our attitude to life and our priorities. spirituality is an inseparable component of Indian Classical Music. The trinity of carnatic music (Tyagaraja, Muthuswami Dikshitar and Shyama Shastri) and other saints sang out of devotion to god. It came from the depth of their hearts. They did not compose those songs for making money.
Tyagaraja sings in one of the compositions that man cannot experience happiness by money but by going closer to god. In another composition he says that mere knowledge of music without devotion is useless. Through those compositions they exhorted people to conquer the six inner enemies of uncontrolled lust, anger, greed, attachment to worldly objects, egoism and jealousy.
They educated people about the four goals of human life-righteous conduct (Dharma), earning money (Artha), enjoying sensual pleasures (Kama) and ultimately realizing our real nature which is spiritual (Moksha). They tried to sow seeds of devotion to god in the hearts of people. Today most people have thrown Dharma into dust bin and have completely ignored spiritual development. They have reduced human life to Artha and Kama. That is why the world is in utter chaos today.