This psalm, with its two halves, deals with the fundamental values of man's life, with his most basic existential needs: a roof over his head, a city to defend him from enemies, and food for the subsistence of himself and his family. The family is the crown of all the other values mentioned before it, and they all constitute conditions and preparations for its establishment. This is because family is not merely a necessary aid to the survival of its members, but rather, with the establishment of a family, a person realizes his most basic human mission: to emerge from his solitariness and give rise to progeny who will perpetuate his existence over the course of the generations.
Our psalm in its entirety describes adult life from the building of a house and attaining a livelihood, to the siring of children and their reaching adulthood, when they can already assist their father.