The reason J. S. Bach is remembered is not that he had a high ratio of outstanding compositions to mediocre compositions. It is rather because he was such a prolific composer. He wrote more than a thousand full-fledged compositions
it was inevitable that some of them would be outstanding and, being outstanding, survive the ages.
Several of Bach's contemporaries who produced more works than he did have been largely forgotten.