President gives advice for future success