Jesus was a rabbi, and under Jewish tradition, one cannot become a rabbi until he has been married.
Rabbi means teacher. A good analogy is that to be a state approved “teacher” you need a certificate or license of some sort. But you and I both know there is more than 1 kind of teacher.
There is also no discussion of His “wife” in the bible.