The algorithm doesn't select for mediocrity - it selects for viewership, but regardless there are millions of creators at there that aren't optimizing for views anyway. It's the same reason some set of random blog posts or comments on sites such as this one will have quality similar to snippets of the highest quality technical documentation. Sheer diversity and quantity will always win.