Pride relates more to our opinion of ourselves, vanity to what we would have others think of us.
"What you don't know can't hurt you, but it can kill you."