שִׁ֥ירa song ofN m sg constr · שִׁיר (H7892)Superscription: head of construct chainשִׁיר (H7892) 'song'.
הַֽמַּֽעֲל֗וֹתthe ascentsart + N f pl abs · מַעֲלָה (H4609)Genitive (superscription)מַעֲלָה (H4609) 'ascent, step'; see Ps 120 on the options (pilgrimage, temple steps, return from exile, stepped style).
לִשְׁלֹ֫מֹ֥הof Solomonprep לְ + N proper · שְׁלֹמֹה (H8010)Superscription (attribution)שְׁלֹמֹה (H8010); 'of/for/about Solomon' - the only Ascent psalm so titled (also Ps 72), prompted by the temple-building ('house') and 'his beloved' (Jedidiah, 2 Sam 12:25). LXX τῷ Σαλωμων; 11QPs^a ל שלומה.
אִםunlessconj · אִם (H518)Conditional conjunction (with לֹא: 'if not, unless')אִם (H518) 'if'; repeated for the parallel conditional (step-parallelism).
יְהוָ֤הYHWHN proper (divine name) · יְהוָה (H3068)Subject (fronted)יְהוָה (H3068).
לֹאnotneg particle · לֹא (H3808)Negativeלֹא (H3808).
יִבְנֶ֬הbuildsQal impf 3ms · בָּנָה (H1129)Predicate verb of the protasis→ Yiqtol: gnomic/general conditionבָּנָה (H1129) 'to build'; also 'build a house' = found a family/dynasty (2 Sam 7:27; Ruth 4:11), anticipating vv.3-5; sound-play with בָּנִים 'sons'.
בַ֗יִתa houseN m sg abs · בַּיִת (H1004)Direct objectבַּיִת (H1004) 'house, household, temple, dynasty'; the double sense unites the psalm's two halves.
שָׁ֤וְאin vainN m sg abs (adverbial) · שָׁוְא (H7723)Adverbial accusative (fronted, emphatic)שָׁוְא (H7723) 'emptiness, futility, falsehood'; 'in vain', the psalm's refrain word (three times).
עָמְל֣וּlabourQal perf 3cp · עָמַל (H5998)Predicate verb of the apodosis→ Perfective: gnomic - their toil is (proves) futileעָמַל (H5998) 'to toil, labour wearily'; a favourite of Ecclesiastes (Eccl 1:3; 2:18-22).
בוֹנָ֣יוits buildersQal ptc m pl constr + 3ms suffix · בָּנָה (H1129)Substantival participle, subject→ Participle: agentive - buildersבָּנָה (H1129); 'its builders', sound-play with בָּנִים (v.3).
בּ֑וֹon itprep בְּ + 3ms suffix · בְּPrepositional phrase (sphere of labour)בּוֹ 'on it', the house.
אִםunlessconj · אִם (H518)Conditional conjunction (parallel protasis)אִם (H518).
יְהוָ֥הYHWHN proper (divine name) · יְהוָה (H3068)Subject (fronted)יְהוָה (H3068).
לֹֽאnotneg particle · לֹא (H3808)Negativeלֹא (H3808).
יִשְׁמָרguardsQal impf 3ms · שָׁמַר (H8104)Predicate verb of the protasis→ Yiqtol: gnomic/general conditionשָׁמַר (H8104) 'to keep, guard'; echoes YHWH the Keeper of Ps 121.
עִ֝֗ירa cityN f sg abs · עִיר (H5892)Direct objectעִיר (H5892) 'city'.
שָׁ֤וְאin vainN m sg abs (adverbial) · שָׁוְא (H7723)Adverbial accusative (fronted)שָׁוְא (H7723); second occurrence.
שָׁקַ֬דstays awakeQal perf 3ms · שָׁקַד (H8245)Predicate verb of the apodosis→ Perfective: gnomicשָׁקַד (H8245) 'to be wakeful, keep watch'; the watchman's vigil.
שׁוֹמֵֽרthe watchmanQal ptc m sg abs · שָׁמַר (H8104)Substantival participle, subject→ Participle: agentive - guardשָׁמַר (H8104); the human 'keeper' whose watch is futile without the divine one.