If you've recently failed at something, whether it's meeting your goals, landing a job or acing an important test, you know how disheartening failing can be.
World-famous actor and musician Will Smith wants you to rest assured there is definitely a silver lining in these moments of disappointment.
"Fail early, fail often, fail forward," Smith said in a series of Instagram story videos on January 7 that went viral. "Failure is a massive part of being able to be successful."
Smith, 49, shared a hang up he has with the way people tend to deal with being unsuccessful: " It's always a little bit frustrating to me when people have a negative relationship with failure," he said.
Instead of feeling defeated, Smith recommended that you not only get comfortable with failure, but that you actually seek it because "failure is where all of the lessons are."
Smith first got his start in Hollywood as a 21-year-old who had never acted before starring in the renowned 1990s television show "The Fresh Prince of Bel-Air."
Despite years of career wins immediately after the hit show, Smith has been vocal about the role that failure played in his life.
At the 2016 Cannes Lions, Smith discussed how marketing his movie "Wild Wild West," a 1999 film that generated more than $200 million in revenue, marked one of the lowest points in his life.
"I had so much success that I started to taste global blood, and my focus shifted from my artistry to winning. I wanted to win and be the biggest movie star," he said. "I found myself promoting something because I wanted to win versus promoting something because I believed in it."
Smith also called his 2013 movie "After Earth" the "most painful failure" of his career, according to Variety. In the same moment, the actor referenced a quote from "The Fresh Prince of Bel-Air" in which his character's aunt told him, "Don't let success go to your head and failure go to your heart."
In his recent video, Smith went on to compare one common way many people actually put themselves in defeat's way: exercise.
"When you go to the gym and you work out, you're actually seeking failure. You want to take your muscles to the point where you get to failure because that's where the adaptation is and that's where growth is," Smith said. "Practice is controlled failure."
Ultimately, Smith wanted viewers to understand that even successful people fail a lot more than they succeed. Among other influential leaders who believe in the power of failing are Bill Gates, Tim Ferriss and Richard Branson.
"They extract the lessons from the failure and they use the energy and they use the wisdom to come around to the next phase of success," Smith said.
"You've gotta take a shot, you have to live at the edge of your capabilities. You gotta live where you're almost certain you're going to fail," Smith said. "Failure actually helps you to recognize the areas where you need to evolve. So fail early, fail often, fail forward."
Like this story? Like CNBC Make It on Facebook.