battere il capo nel muro

Etymology
lit. 'to beat one's head against the wall'.

Verb

 * 1)  to beat one's head against a stone wall