comeuppance Look up comeuppance at Dictionary.com
1859, presumably rooted in come up "present oneself for judgment before a tribunal."