WordPress is not the world's best software, but the ecosystem is fairly compelling, and it solves a lot of customer needs very, very quickly. (An off the shelf theme for tens of dollars or custom theme for hundreds gets many projects 100% of the way there.)