settle a/the score

idiom

Definition of settle a/the score

: to harm or punish someone who caused one harm