At your wits’ end

Generated image of someone getting frustrated at chatgpt
The phrase at your wits’ end means feeling completely frustrated, and you do not know what to do next.
It originated in the 1300s to describe scholars who were at the edge of their understanding.

I'm at my wits' end trying to get this computer program to do what I want!