at the end of one's tether
At the limit of one’s patience; frustrated or annoyed.
He proposed to call witnesses to show how the prisoner, a profligate and spendthrift, had been at the end of his financial tether, and had also been carrying on an intrigue with a