His mistake was his undoing.
Their failure to communicate effectively led to their undoing.
The betrayal resulted in their undoing as a team.
The fire caused irreparable damage, leading to their undoing.
Her hidden flaw was her undoing in the competition.