From Longman Dictionary of Contemporary Englishsomebody has paid their debt to societysomebody has paid their debt to societyused to say that someone who has done something illegal has been fully punished for it → pay
Examples from the Corpus
somebody has paid their debt to society• After 20 years in jail, Murray feels he has paid his debt to society.