score on oneself
고급 (C1) informal
To accidentally do something that hurts you instead of the other person, like scoring a goal for the other team.
"By leaking that information, the politician ended up scoring on himself instead of damaging his rival."