Young women left the group when marrying, hence "capping Saint Catherine" became synonymous with "still being a single woman at/after 25".
The practice of leaving a group when marrying led to the term "capping Saint Catherine" being used as a metaphor for remaining single past age 25.