Helping students to find purpose in their lives could not only motivate them in school, but help them be resilient to life's bumps.