The influence of a toxic environment like a public school, can create obstacles for someone finding a spouse after graduation.
However, ultimately, it is grace infused into the soul, merited through prayer, that enables human beings to act like true Christians, true husbands, fathers, wives, mothers, etc.
Clearly, grace is at work in this young man's soul, and he is an edifying example for all of us, to the glory of God.
Of course, pious family and friends can be quite helpful and even necessary for some, but for others this can be a hindrance, possibly being an occasion of other more subtle sins that are not as detectable.
St. Francis de Sales in an Introduction to the Devout Life says the following, as was referenced by Boomerang in "The Great Chastisement" thread recently.
βIt has even happened that many have lost perfection in solitude, which notwithstanding is so favourable to perfection, and have preserved it amidst the multitude, which seems so little favourable to perfection. Lot, says St Gregory, who was so chaste in the city, defiled himself in solitude. Wherever we are, we may and ought to aspire to the perfect life.β
β Chapter III, That Devotion is Suited to all Vocations and Profession