The addiction of gambling comes from the lure of effortless profit and the way of get, motivated by covetousness, which militates against contentment.
Because virtually every sin begins as a desire in the mind, the command against coveting (lustful cravings) could be the key to keeping the other commandments.
Habakkuk was frustrated that God would use an evil people to punish Israel, yet he resolved to cease fretting and to become a responsible watcher.
Coveting—lust—is a fountainhead of many other sins. Desiring things is not wrong, but desiring someone else's things promotes overtly sinful behavior.
For being a religious book, the Bible contains an unusual number of references to harlotry! Yet they provide understanding of the great harlot of Revelation.
Habakkuk learns to look, watch, wait, then respond, realizing that God is sovereign and will rectify all the injustices in His own time.