A lot depends on whom you marry. This was conventional wisdom in the Litvak yeshiva world.
When it comes down to choosing a wife, you need to find one that is a bat talmid chacham (daughter of a authentic Torah scholar from the realm of holiness). The reason is that if you want to continue learning Torah after you marry you need to find a wife that wants you to be sitting and learning.
It was said that, "If she wants you to learn, you will learn. If she does not want you to learn then you will not."
You can see this even in the wider world. It is know that one of the major mistakes that caused the downfall of the Confederacy was John Bell Hood [known as Sam Hood]. He had an amazing steak of victories up until he fell in love with Sally Preston. She was so well know as a flirt that one soldier who was thought to be interested in her was asked about this. He answered, "I would rather face a charge of Yankees. I do not want to end upon the casualty list."
Yet John Bell Hood did fall in love with her, and not just lost battle after battle, but in one of the most crucial aspects of the war, he was put in charge of an entire army, and really messed up so much so that it caused the loss of the entire war.
[He thought to attack Sherman's supply lines. Sherman could not have been more happy. He said he soldiers ate and sleep better living off the land.]