Krishna blamed addiction to gambling and the Kauravas for the dice game.
Krishna condemns addiction to everything as a source of disaster (including addiction to gambling)
O lord of the earth! Whatever has not been eaten up is destroyed through gambling. I would have described how the addiction to gambling lasts continuously. Women, gambling, hunting and drinking are four things that arise out of desire. O king! It has been said that these lead to loss of prosperity. Those who are learned in the sacred texts hold that while this is true of all of them, it can be especially seen in the case of gambling. On a single day, one may lose all one's property. Misery is certain. Wealth that has not been enjoyed is lost. Only harsh words are left.
- 14, Kairata parva, Mahabharata.
Krishna directly condemns Duryodhana to his face about the dice game
You plotted a gambling match with Soubala. O son! Your relatives are superior and are honoured by virtuous ones. They are not crooked in their conduct. How could they engage in a deceitful act with that deceitful one? O immensely wise one! Gambling with the dice destroys the joy of the virtuous. Among those who are not virtuous, it creates dissension and difficulties. It was you who started this terrible and wicked gambling match with your wicked relatives, ignoring the norms of good conduct. Who else but you could have treated the wife of a relative in that way, bringing Droupadi to the assembly hall and speaking to her in that way? She has been born in noble lineage. She possesses good conduct. She is dearer to them than their lives. You maltreated that queen of the sons of Pandu. All the Kurus know how Duhshasana addressed the Kounteyas, the scorchers of enemies, in the assembly of the Kurus, when they were being exiled.
- 126, Bhagavat Yana parva, Mahabharata.