Experience doesn't affect what cards you get, as that depends on luck. But if we speak about game like poker ( most popular gambling game with cards) experience actually matters here, again, not for cards, but for bluffing, knowing chances, controlling your emotions - that's why older players win more often versus new poker players
I do see theoretically many people are arguing about luck which is the only factor deciding our profits in most of the gambling types, but I do experience about knowledge how useful it is when I am gambling like when to stop and how to degrade my bet levels. You could never ignore the use of experience anywhere.
Even luck is the deciding factor in most of the gambling, if you are having experience and knowledge you can prevent your losses. Avoided-losses are profit in some calculation, in this way we can avoid losses by using our experience even in luck-based a gambling. It means we are making "non-real profits". Experience matters everywhere so even for your luck based gambling too.
How can you prevent losses with experience and knowledge? I know lots of "experienced" gamblers and to be honest they didn't move with their experience nor knowledge from day 1.
IMO you can't avoid losses using experience, but you can lower your losses with self control, not raising bets or depositing again after you lose. And you don't need experience to do that.