A WSM is a great SMOKER, I have 3 of them.
Pellet grills are more convenient and versatile; one can smoke, or grill, or bake, or....
As has been mentioned, they are all tools. Sometimes I use what will work the best and sometimes I pick what I cook on just because I want to use it that day.