Own goal

Meaning: An action that unintentionally harms your own interests or helps an opponent.

Example: The company’s public statement was an own goal that damaged its reputation.