v. phr. To struggle uselessly against something that can't be beaten or helped; not succeed after trying very hard. Trying to make him change his mind is just beating your head against a wall.
BEAT ONE'S HEAD AGAINST A WALL
Meaning of BEAT ONE'S HEAD AGAINST A WALL in English
American idioms English vocabulary. Английский словарь американских идиом. 2012