Gambling with friends who be my pick. I notice each time I go gambling with my friends I always end up getting pressured to go above my maximum gambling capital limit. Sometimes I won't be aware this has happened until the next day other times I just play along because I would look like the odd one if I try opposing their suggestion. I had this having since high school, Although the habbit isn't a part of me anymore.
Going gambling with your friends(who are gamblers too) is, indeed, a bad habit that will cost you. Usually gamblers encourage each other with words like: "Go, go!", "Don't give up! You can do it!" and such. I can see it in chat boxes of gambling sites too, but, playing online, you can disable chat whenever you want, while you can't mute your friends when you are in a land based casino. When you are losing it is hard to stop even with nobody around, but it is much harder with your friends pushing you to continue.
You did the right thing when discontinued that habit.