Here laying down measuring lines is a metonym for measuring land and giving it to someone, and here this is a metaphor for God blessing David in many great ways. This can be stated in active form. Alternate translation: "You have measured off land for me in pleasant places" or "You have given me land in pleasant places" or "You bless me like one who gives land in pleasant places" (See: [[rc://en/ta/man/jit/figs-metonymy]] and [[rc://en/ta/man/jit/figs-metaphor]] and [[rc://en/ta/man/jit/figs-activepassive]])
Here David speaks of Yahweh's blessings as if they were an inheritance that he has received. Alternate translation: "I am delighted with all the things that he has given me" (See: [[rc://en/ta/man/jit/figs-metaphor]])