He nearly lost everything because of his drug addiction, but his friends helped to pull him back from 'the brink'.
The other team 'brought them to the brink of' defeat. [=came very close to defeating them]
an animal that has been 'brought/pulled back from the brink of' extinction
(..) For now. For now is the best we get in our profession. It's not enough. Considering the city was on the brink of civil war, I'd say it's a good start. It's not enough for Meereen to have peace. They need to know Daenerys is responsible for it. (..)2016 TvShow: Game of Thrones Title: The Door Season: 6 Episode 5