There is no historical evidence that Johann Sebastian Bach aspired to be a "composer" in the modern sense. His primary role was as a church musician (organist, Kapellmeister). He composed largely to fulfill professional duties—cantatas for weekly services, works for court occasions, pedagogical pieces for students. His genius was recognized posthumously; during his life, he was valued more as an organ virtuoso than a composer.