Neither goalscoring, nor dribbling are more important to winning trophies. It's all about context. There are amazing dribblers and goalscorers whose teams did better without them than with them. The most important, rarest and valuable currency in the game has always been the ability to destabilize a defensive organization. This particular currency has more often than not come in the shape of great dribblers, passers and playmakers from the likes of Pelé, Cruyff, Maradona and others. That is why we usually refer to the greatest goalscorers in a category of their own a bit like Müller, Van Basten or Van Nilstelrooy.
Having said that, plenty of goalscorers also possessed that ability to render a defensive organistion useless through dribbling, pace and technique like Henry, Cristiano Ronaldo and nowadays Mbappé.