However he was a person that was respected by his community. and he was talking to people that could have sat in the local beit midrash and learned Torah and their father in laws would have supported them. They had little problem finding a wife or parnasah.
What would happen I wonder if suddenly the whole community returned against him? There can be such things. We know in the Torah of episodes of what you could call miracles of the Sitar Achra. We know many cases in which whole communities turned against Tzadikim. Moshe Rabbainu was not the first and not the last. [Korah seems safely far in the past but I know that he shows up even nowadays in rabbinical garb.
But let ups say for the sake of argument a tzadik would find himself with out a wife, with no parnasha wherever he would go in the Jewish world people would hound him out of town. Not just no one would hire him but they would actively try to bring blood libels of today the equal of sexual abuse libels against him.
I ask you --would not collage seem to him to be better option than what he had originally thought? It is not possible he would rethink his opinion?
In such a case a tzadik would think thus:
If A then B. A= the community is righteous. B I= am a wicked person.
I find A plausible. But I find B to be highly plausible. If I would accept A I would have to accept B. But B seems highly unlikely. Therefore I reject A. This is the type of Logical thinking a tzadik would do in such a case. Further he would reason further:I find not B to be the most plausible of all the propositions. Therefore not A