I know the term 'casting lots,' 'drawing straws', is associated with the Holy books which spoke about it when the occupants of the ship Jonah was traveling in, drew straws to know who was the cause of the turbulence was, Jonah was thrown overboard after the results and the sea became calm.
Lots, was also cast during the crucifixion of Jesus, while the soldiers were sharing his possessions among themselves.
If we have known lots to be some sort of sacred activity that could act as a guide to help make some decisions after the outcome, can we not then classify or tag casting lots and drawing straws, as a kind of gambling activity?
I do not consider "casting lot" and "drawing straw" as a gambling activity, and this is because if you check, those casting the lot and drawing straw in the both stories you shared didn't have anything at stake, that is, they stood no chance of losing anything of their own to another person, so this can not be classified as gambling at all.
There has been a topic on this thread several months back where we discussed if participating in contests and other activities where the person doesn't risk anything but stand a chance of winning something; was a type of gambling, it was concluded that it's not gambling since in gambling, the person have to risk losing something of value same way he or she stand a chance of winning something of value as well.