“Yes, vanity is a weakness indeed. But pride — where there is a real superiority of mind, pride will be always under good regulation.”
Darcy is splitting hairs. Most definitions of vanity and pride are nearly identical to each other: Vanity:"The quality of being personally vain; high opinion of oneself; self-conceit and desire for admiration." (OED) Pride: "A high, esp. an excessively high, opinion of one's own worth or importance which gives rise to a feeling or attitude of superiority over others; inordinate self-esteem.(OED) Only one definition of pride supports Darcy's interpretation: "A consciousness of what befits, is due to, or is worthy of oneself or one's position; self-respect; self-esteem, esp. of a legitimate or healthy kind or degree."(OED)