Just a while back, the big trade publishers ruled the market. They only accepted one percent of submitted manuscripts through agents, often called their gatekeepers, and those authors became rare celebrities admired by others regardless of what they had written or how much money they had made.
It was a dream of virtually all the writers to sign a contract with a trade publisher. Times have changed. Now anyone can self-publish and market a book. The self-published books may be good or not, but the point is that anyone can now become a published author, and it is up to you to create your reputation and market your book.