do one's worst

[do one's worst] {v. phr.} To do one's utmost by resorting to every foul means possible.

Hitler did his worst to drive out the Allied invasion from Europe, but he failed.