gambling is just for pleasure and pastime which is not wrong but if you are gambling as a living , to get back your loss, and to earn profit then it will become wrong. never ever treat gambling as a job (which is very wrong)
gambling can be a job, but only with the right game and people. the biggest example that comes to mind is professional poker, where it is possible to earn 6 figures annually provided that the player has a certain amount of both skill and experience to win over the long run. however, this applies to very few people, and gambling is not profitable for the majority of gamblers.