Here "the nation" refers to the people of the nation. Alternate translation: "Blessed are the people of the nation" (See: [[rc://en/ta/man/translate/figs-metonymy]])
The people Yahweh has chosen to worship him are described here as if they were an inheritance that he has received. (See: [[rc://en/ta/man/translate/figs-metaphor]])