There’s a way to teach kids how to fail without ruining their lives