Is there any relationship between good academics grades and being successful in real life?

Most of us were told by our parents that we need to study hard and get good grades if we want to have a successful professional career. There are countless examples of very successful people who did very bad academically or didn't even finish their school.