Comeuppance.  I should look that word up.  I bet it’s origin is fascinating.