I think you're referring to the Sanskrit poem "Chava Kadambari"!
By the end of the novel, you realize: Kadambari isn't a side character. She is the tragedy wearing a crown." chava kadambari in english
What is Chava Kadambari?
Despite her pioneering role, Chava Kadambari’s legacy is shadowed by a deeply tragic personal story. By some accounts, her husband Vishnudas Bhave, who was known for his flamboyant and unconventional lifestyle, fell in love with another woman—a dancer named Jau Bai from Kolhapur. The precise sequence of events is debated, but the emotional and social turmoil that followed led Chava to take her own life. I think you're referring to the Sanskrit poem