As per this blog post and this Facebook post, the following is a conversation that took place between Uddhava and Sri Krishna in the Uddhava Gita. Is there any truth to this story/conversation? Is it part of another Purana or scripture?
Uddhava asks:
Krishna, you were a dear friend of the Pandavas. They trusted you fully as Apadhbhandava (protector from all difficulties). You not only know what is happening, but you know what is going to happen. You are a great gyani. Just now you gave the definition of a true, close friend. Then why did you not act as per that definition. Why did you not stop Dharmaraja [Yudhishtra] from playing the gambling game? Ok, you did not do it; why did you not turn the luck in favour of Dharmaraja, by which you would have ensured that dharma wins. You did not do that also. You could have at least saved Dharmaraja by stopping the game after he lost his wealth, country and himself. You could have released him from the punishment for gambling. Or, you could have entered the hall when he started betting his brothers. You did not do that either. At least when Duryodhana tempted Dharmaraja by offering to return everything lost if he betted Draupadi (who always brought good fortune to Pandavas), you could have intervened and with your divine power you could have made the dices roll in a way that is favorable to Dharmaraja. Instead, you intervened only when Draupadi almost lost her modesty and now you claim that you gave clothes and saved Draupadi's modesty; how can you even claim this – after her being dragged into the hall by a man and disrobed in front of so many people, what modesty is left for a woman? What have you saved? Only when you help a person at the time of crisis, can you be called 'Apadhbandhava'. If you did not help in the time of crisis, what is the use? Is it Dharma?’
Krishna laughs and says:
Dear Uddhava, the law of this world is: "only the one who has Viveka (intelligence through discrimination), wins." While Duryodhana had viveka, Dharmaraja lacked it. That is why Dharmaraja lost.
While Duryodhana had lots of money and wealth to gamble, he did not know how to play the game of dice. That is why he used his Uncle Shakuni to play the game while he betted. That is viveka.
Dharmaraj also could have thought similarly and offered that I, his cousin, would play on his behalf.
If Shakuni and I had played the game of dice, who do you think would have won? Can he roll the numbers I am calling or would I roll the numbers he is asking. Forget this. I can forgive the fact that he forgot to include me in the game. But, without viveka, he did another blunder. He prayed that I should not come to the hall as he did not want me to know that through ill-fate he was compelled to play this game. He tied me with his prayers and did not allow me to get into the hall; I was just outside the hall waiting for someone to call me through their prayers. Even when Bheema, Arjuna, Nakula and Sahadeva were lost, they were only cursing Duryodhana and brooding over their fate; they forgot to call me. Even Draupadi did not call me when Dusshasan held her hair and dragged her to fulfil his brother’s order. She was also arguing in the hall, based on her own abilities. She never called me. Finally good sense prevailed; when Dusshasan started disrobing her, she gave up depending on her own strength, and started shouting ‘Hari, Hari, Abhayam Krishna, Abhayam’ and shouted for me. Only then I got an opportunity to save her modesty. I reached as soon as I was called. I saved her modesty. What is my mistake in this situation?