This post by Juliette Culver is over 12 years old but is still one of my favourite explanations of what’s wrong with Drupal and WordPress for developers.
Nowadays, Statamic (and the Laravel ecosystem in general) is a fantastic alternative if you’re a PHP specialist.