"In today's hyper-connected, hyper-competitive world, with millions of young people from China and India and Brazil - many of whom started with a whole lot less than all of you did - all of them entering the global workforce alongside you, nobody is going to give you anything that you have not earned," Obama said.
In his speech at the Morehouse College Commencement Ceremony in Atlanta, Georgia, Obama asked the young people of his country to work hard.
Obama said that it is hard work that demands one constant attention and frequent sacrifice.
"I promise you, Michelle (the First Lady) will tell you I'm not perfect. She's got a long list of my imperfections. Even now, I'm still practicing, I'm still learning, still getting corrected in terms of how to be a fine husband and a good father. But I will tell you this: Everything else is unfulfilled if we fail at family, if we fail at that responsibility," he said amidst applause.
More From This Section
"I will be thinking about that walk I took with my daughters. I'll be thinking about a lazy afternoon with my wife. I'll be thinking about sitting around the dinner table and seeing them happy and healthy and knowing that they were loved. And I'll be thinking about whether I did right by all of them," Obama said.
"You've got to be engaged on the barbershops, on the basketball court, at church, spend time and energy and presence to give people opportunities and a chance. Pull them up, expose them, support their dreams. Don't put them down," said the US President.