Knowing when to quit is as important as having grit