Of course he didn’t! It’s a stupid question! Richard Rodgers and Oscar Hammerstein II wrote The Sound of Music.
But I ask that question because James Horner, among all composers, produced some of the most beautiful sounds of music ever to grace the silver screen. He’s easily in my top five favorite movie score composers, and I say that only because once you reach that level of greatness, it’s meaningless to rank them any further.