Don't buy any bitcoins then you will safe from online gambling.
Bitcoin is not the only currency used in on line gambling. You can also pay with credit/debit cards to do on line gambling.
Does it mean you should decline to be paid with your local currency so that you will not do on line gambling?
Yes many people have misunderstood bitcoin system as a token inviting them to online gambling. Unfortunately bitcoin also suits gambling houses and gamblers the best possible way. This may mislead people like preventing them from gambling if they not owning any bitcoins. Lack of awareness.