Term: break a butterfly on the wheel
Example: he keeps trying to get it published but i think he is just trying to break a butterfly on the wheel
Definition: to waste effort on something that there is no chance of succeeding at