The sad part is dude literally gambled away the money he didn't have, it wasn't his money to gamble but he did it anyway, so this was absolutely zero risk for him, he could have given that money away to charity and still wouldn't be down one cent because none of it was his but at the same time if you are risking illegal crimes by stealing from a company than you might as well do something smart, gambling it away sounds such a waste since it would not make any sense to actually commit a crime like stealing but than giving that money away to gambling, I would at least get some houses or use it to run away to another country to not get caught or something, without that it makes no sense to steal because you will end up in jail and have nothing to show for it neither.
Well,all people do have different mindsets which means if he do plan on the first place on spending those stole funds on gambling then its his choice.
Its really a zero-risk for him yet he didn't own those but you know already the possible consequences behind and since you do know that you are already fucked up
in the end then its better to make yourself enjoy into those last moments. hehe