Hiring specialists is higher variance. They could be amazing for your company or it could be that you need to do something slightly different and they are mostly useless. Generalists are safer but with less upside.
Of course this dichotomy is false anyway. Everyone exists on a spectrum. No one has only a single skill at “max level” and no one has every skill. It’s more a question of where on the spectrum you want to be.