defeat one’s own purpose

See: overreach
Mentioned in ?