When is it okay to be proud? Can I be “proud” of my Catholic faith? Can I be “proud” of my many years of marriage?
Theologically speaking, the term pride is used to describe an excessive or unjustified love for oneself and one’s accomplishments. Colloquially speaking, pride is used to signify pleasure or satisfaction in those things or persons that reflect well on a person or those related to that person. In the colloquial sense, when pride is justified and not excessive, there is nothing wrong with being proud of oneself or of others.
It is more spiritually edifying to cultivate a sense of gratitude rather than pride, particularly when it concerns those things that cannot be credited entirely to one’s own accomplishment. In the examples you gave, it would be better to say that one is grateful for the graces to be Catholic and to have had a successful marriage. Gratitude fosters a sense of humility because it focuses on others—such as God and neighbor—rather than on oneself.