идти по краю пропасти
To be on the brink of an abyss
to walk at/on/along the edge of precipice
...edge of A precipice