τὴν ἀξίην λαβεῖν
From LSJ
τὸ πολὺ τοῦ βίου ἐν δικαστηρίοις φεύγων τε καὶ διώκων κατατρίβομαι → waste the greater part of one's life in courts either as plaintiff or defendant
Greek > English (Woodhouse)
get one's deserts, get one's just deserts, have justice done to one