In the prime of his career, Kobe Bryant nearly lost it all.