It's actually both, but as all games here, luck is your greatest weapon. Sometimes, when you get way over your head and think you're beating the game, that's usually where you will get eaten. So my advice is to think carefully and pray maybe. Haha
If you think you're winning, maybe that's what stake wants you to think, no matter how good you are in selecting pairs and such, crappy cards always come and usually in streaks.