walić głową w mur

Etymology
lit. 'to bang one's head against a brick wall'.

Verb

 * 1)  to bang one's head against a brick wall