tilt at windmills
tilt at windmills {v. phr.}, {literary}
To do battle with an imaginary foe (after Cervantes' Don Quixote).
John is a nice guy but when it comes to departmental meetings he wastes everybody's time by constantly tilting at windmills.
Categories:
Source: A Dictionary of American Idioms