expression

To tilt at windmills.

Theme: judgment Keyword: effort

means

To fight imaginary enemies or pursue a misguided struggle.

Example

By blaming an innocent colleague, he was tilting at windmills.