The party seeking divorce has to be innocent of blame.
A perusal of the grounds on which divorce can be sought under Section 13(1) of the Hindu Marriage Act, 1955, would reveal, that the same are grounds based on the 'fault' of the party against whom dissolution of marriage is sought. In matrimonial jurisprudence, such provisions are founded on the 'matrimonial offence theory' or the 'fault theory'. Under this jurisprudential principle, it is only on the ground of an opponent's fault, that a party may approach a Court for seeking annulment of his/her matrimonial alliance. In other words, if either of the parties is guilty of committing a matrimonial offence, the aggrieved party alone is entitled to divorce. The party seeking divorce under the "matrimonial offence theory"/the "fault theory" must be innocent. A party suffering "guilt" or "fault" disentitles himself/herself from consideration. Illustratively, desertion for a specified continuous period, is one of the grounds for annulment of marriage. But the aforesaid ground for annulment is available only, if the desertion is on account of the fault of the opposite party, and not fault of the party which has approached the Court. Therefore, if a husband's act of cruelty, compels a wife to leave her matrimonial home, whereupon, she remains away from the husband for the stipulated duration, it would not be open to a husband to seek dissolution of marriage, on the ground of desertion.
https://www.lawweb.in/2013/09/the-party-seeking-divorce-has-to-be.html