Yes, vanity is a weakness indeed. But pride - where there is a real superiority of mind, pride will be always under good regulation.
The war was between the Danes and Wessex. My war was with Odda the Younger, and I knew I was driven by pride. The preachers tell us that pride is a great sin, but the preachers are wrong. Pride makes a man, it drives him. It’s the shield wall around his reputation and the Danes understood that. Men die they said, but reputation does not die. What do we look for in a lord? Strength, generosity, hardness, and success. And why should a man not be proud of those things? Show me a humble warrior and I’ll see a corpse. Alfred preached humility, he even pretended to it, loving to appear in church with bare feet and prostrating himself in-front the alter, but he never possessed true humility. He was proud, and men feared him because of it, and men should fear a lord. They should fear his displeasure and fear his generosity will cease. Reputation makes fear, and pride protects reputation, and I marched North because my pride was endangered.
Pride is a human nature and it's good for people to be proud of themselves, achievements, etc. but too much of anything is not healthy. Humble is pride exhibited through humility, so be humble and prideful about being humble.