When you are winning you think it is good, but when you lose you blame gambling.
Why not think about it and realise you should only do it for a hobby.
This is pretty well how we all react when we win or lose something. We'll blame the game (In this case) and we'll not say that our desire to win more money and the subsequent loss due to overall random chance was the cause of it.
I do not believe gambling is wrong in and of itself, its only wrong if someone abuses it (In a similar way to prescription drugs) and it becomes crushing and controlling in their life. Gambling sites exist as a business, and there is nothing wrong with a business.