I think of gambling as risking money in the HOPES of a good outcome. If you have an edge, I don't consider that gambling.
Consider this game:
You roll a fair dice
If it lands 1, 2, 3, or 4, you win $100
If it lands 5 or 6, you lose $100
Is this considered gambling? You're wagering money in...