tilt at windmills

📖 general
Meaning
to engage in a futile or pointless endeavor
Literal Meaning
to attack imaginary enemies
Example
“He was just tilting at windmills when he tried to convince the board to change their minds about the project.”