Of course both are the most important because gambling is a game of probability, so luck and skill are really needed.
I actually often pay attention to people who only gamble using luck alone, to be honest they will definitely lose, they don't know that the skill factor also influences winning when gambling.
Of course you are right, gambling requires both luck and gambling skill. If you have enough skill in gambling but if your luck does not favor you then you will lose the gambling game and if you only depend on luck then you will surely lose your gambling game. Skill in gambling helps you to take right decisions while luck helps you to win in gambling. Gambling skill is the first and very important step because if we make a mistake in the beginning we will lose the gamble even if luck is in our favor. So first we have to make the right decision then it is a game of luck. If we lose a gamble even after making the right decision, we have to accept that our luck was not helping us that day and try again later but with the right decision.
Skills in gambling can help us to have a greater chance of winning than usual, but without luck, it will not be easy for us to win. Actually, these two things are interconnected, especially in skill-based gambling games, because if we can play the gambling game but we are not lucky, we will have difficulty winning. And even if we lose that game, we can still win another game. But if it is a luck based game, we will never be able to win if we don't have luck, and that is why many people experience huge losses in luck based gambling games. And if we are asked which is more important, luck or skill, it depends on what gambling game we are playing, so the answer will definitely be different.