to be at (your) wits' wit's end

listen to the pronunciation of to be at (your) wits' wit's end