be on the verge of

be on the verge of  {v. phr.}
To be about to do something; be very close to.
We were on the verge of going bankrupt when, unexpectedly, my wife won the lottery and our business was saved.
Categories: business verb