on the verge of
idiomDefinition of on the verge of
: at the point when (something) is about to happen or is very likely to happen
The company was on the verge of going bankrupt. The child was on the verge of tears. We were on the verge of divorce.