וַיְהִ֥י דָוִ֛ד לְכָל־דָּרְכָ֖ו מַשְׂכִּ֑יל וַֽיהוָ֖ה עִמּֽוֹ׃
David war glücklich auf all seinen Wegen und der Herr war mit ihm.
Mishneh Torah, Human Dispositions
The way of sensible people: A man should first select a permanent vocation out of which to derive a livelihood, then buy a home, and after that take unto himself a wife, as it is said: "And what man is there that built a new house and hath not dedicated it, And what man is there that hath planted a vineyard, and hath not used the fruit thereof, And what man is there that hath betrothed a wife and hath not taken her". (Deut. 20.5–7).14The Hebrew text quotes “And what man is there that hath planted a vineyard” first, which is an evident error; Maimonides only emphasizes that marriage should take place only after attaining an established livelihood. G. But fools reverse it by taking a wife first, and after that, if he be able, purchase a home, and after that, in his declining years, he will turn about looking for a vocation, or be supported on charity. Even so is it reversed when pronouncing adversity: "Thou shalt betroth a wife, thou shalt build a house, thou shalt plant a vineyard" (Deut. 28.30), meaning, thy actions shall be reverse so that thou be unsuccessful in thy ways. But of a blessing it is said: "And David acted wisely in all his ways, and the Lord was with him" (First Samuel. 18.14).15See Pesahim, 50, about one who is supported by his wife’s earnings. G.