There’s good evidence that cats are the only self-domesticated animal we have. Coupled with the very strong evidence that stupidity, complacency and obedience were the traits selected for in man-directed domestication efforts, it’s no surprise that cats are both more willful and more clever than most other domestic animals.
They can still be an enormous pain in the ass, just in different ways than dogs, so pick your poison. Cats, for me.