To escape Krishna from a curse, Sudama himself chose the life of a poor man.
Though everyone is well acquainted with the image of Sudama, the supreme friend of Shri Krishna, but hardly anyone knows that Sudama himself chose the life of a penniless to avoid a curse to t