Ragtime wrote:
I consider Bach to be no less than Mozart, just different in personal style and of course music period.
There was also an other difference: Bach was employee of the church or the most time of his live civil servant. At least the City of Leipzig did not care a lot about the quality of the music Bach had to deliver: So Bach was in almost constant struggle with his bosses, the City Council of Leipzig, for extra resources, but had also a lot of freedom to create the music he wanted to create.
Mozart wrote, after getting fired by the Archbishop of Salzburg, for the "free market". So Mozart had to put the taste of the audience and of his sponsors much more into consideration than Bach. So Mozart's situation in Vienna was closer to the situation of Handel in London than to Bach.
---
There is a lot of misconception regarding Bach's work: Some assume, because Bach wrote a lot of spiritual music, that he was particular religious, what was true or not, but part of Bach's contract with the City of Leipzig was to provide a cycle of three year with oratories for the High Feasts, one cantata for each normal Sunday and extra cantata and motets for funerals and other occasions. It is therefore no wonder that the most music from Bach had been written for the church.