And that's always a possibility as if you'll be caught by your boss chances to lose your job is the next thing to happen to you, there's always a place for your gambling and it should not be done during your paid hours inside your workplace, plus the fact that you can lose your money and your emotions can also be affected.
Most of the time, gamblers who lose money got emotional swings, being a hot-temper might affect also your relationship with your workmates. Can result as well in losing your job.
There is a time and place for everything, gambling by itself is not really something wrong to do, as it is just like any other hobby that you may enjoy.
However doing so at your place of work is a bad idea, bosses do not like that their employees are taking some of their working time off to enjoy a hobby, and we can see this on the push to try to get people back to the office, as even if the work still got done at the end, people did so while enjoying their time at their house, and companies hated this even if it was overall more efficient for everyone involved.
Gambling is not completely bad if we can do it well and responsibly, including the time and place for gambling, because it is impossible to gamble in places where you shouldn't. If there are many people who gamble well, maybe there won't be many people who have a negative view of gambling. because there are so many negative views on gambling because people gamble excessively which results in big losses. and also with countries that allow and do not allow gambling being one of them.
What you say is correct, I agree with that, although some say it depends on the job you have, but in my opinion it is not good to gamble at work, in the work environment or working hours. If you are in the environment, hours and place of work then you should just focus on work, because that is the main income which is clear, don't let us get into trouble because of careless actions taken. Even if I were a boss who had employees and they were stealing time to do their hobbies, especially gambling, of course I wouldn't like it and would reprimand this action, because I think it could affect their performance, and I myself don't want my company to suffer from this. problems due to careless actions of employees. Besides, it's hard to wait until you get home from work, because even if you're at home, it's impossible not to have free time.