To be exhausted, at the end of one's patience, or to be finished with something; also, for something to be broken beyond repair.