A primitive particle (rather from the relative pronoun, 'aher); there (transferring to time) then; often thither, or thence -- in it, + thence, there (-in, + of, + out), + thither, + whither.
see HEBREW 'aher
H8033. sham
שָׁם adverb there, thither (Arabic there, compare then; Biblical Aramaic תַּמָּה, Egyptian Aramaic תמה S-CPap. A 4, J 6, תַּמָּן ᵑ7 (with demonstrative n, compare אֱדַיִן beside אֲזַי), Syriac ; ZenjHad. 8 (Cooke159) שם); —
1. a. there Genesis 2:8, 12; 11:2, 7, 31 + often; placed early in sentence for emphasis, Micah 4:10 תִּנָּצֵ֑לִי שָׁם, Nahum 3:15; Ezekiel 32:22, 24; Psalm 104:26 +, ֗֗֗ וְשָׁם Genesis 41:12; Exodus 15:27; Numbers 13:22, 33 +, וְשָׁם ֗֗֗ שָׁם Exodus 15:25; Deuteronomy 12:14; Isaiah 27:10; Job 3:17 +, ֗֗֗ שָׁם וְהִנֵּה Genesis 29:2, ֗֗֗ שָׁם כִּי 11:9; 21:31; 35:7; 2 Samuel 1:21; 15:21 +, ֗֗֗ שָׁם אַךְ Isaiah 34:14-15, ֗֗֗ שָׁם גַּם 23:12; 57:7; Psalm 139:10; resuming a preceding 'where,' Job 39:30 הוּא שָׁם חֲלָלִים בַּאֲשֶׁר, Judges 5:27; Jeremiah 22:12; Ecclesiastes 11:3, compare 1:7. Repeated, שָׁם ֗֗֗ שָׁם here ... there Isaiah 28:10, 13. In poetry, pointing to a spot in which a scene is localized vividly in the imagination, Psalm 14:5 פחד פחדו שׁם there feared they a fear! Psalm 36:13, compare 48:7; 66:6; 132:17; Hosea 6:7; Zephaniah 1:14. — Habakkuk 3:4 read probably (We Now) שָׂם the flashes at his side made he the hiding of his power; Ecclesiastes 3:17 שָׁם = with God, in the Divine plan or scheme: but read perhaps שָׂם Hi De and others
b. preceded by the rel., שָׁם אֲשֶׁר where, Genesis 2:11; Exodus 20:21; 1 Samuel 9:10 +, usually with one or more words between, Genesis 13:3, 14; 19:27; Exodus 29:42; 2 Samuel 11:16; 2 Kings 23:27 + often; after שָׁם הוּא בַּאֲשֶׁר בַּאֲשֶׁר, Genesis 21:17. With אשׁר omitted (the relative being indicated by construct, Ges§ 130 c, d) Ezekiel 39:11 ׳בְּיִשְׂר קֶבֶר שָׁם מְקוֺם a place where a grave (may be) in Israel, but ᵑ7 ᵐ5 Co Or and others read שֵׁם a place of renown.
2 thither, after verbs of motion ( = שָׁ֫מָּה, see
3), Deuteronomy 1:37 שָׁם תָבאֹ לֹא, Judges 19:15; 21:10; 1 Samuel 2:14; 9:6 and elsewhere; שָׁם ֗֗֗ אֲשֶׁר whither, 1 Kings 18:10; 21:18; 2 Kings 1:4, 6, 16; Isaiah 20:6, more often in Jeremiah, Ezekiel, as Jeremiah 8:3; 22:27; 23:3, 8; 45:5 +, Ezekiel 4:13; 12:16; 36:20, 22 +; so שֶׁשָּׁם Psalm 122:4.
3 with ה locative, שָׁ֫מָּה (sh¹mm¹h):
a. after verbs of motion, thither, Genesis 19:20 שָׁ֫מָּה לָנוּס to flee thither, 19:22; 20:13; 24:6; 29:3; Deuteronomy 1:38 + often; = into it, therein (of a basket, pit, etc.), Exodus 16:33 הָעֹמֶר מְלֹא וְתֶןשָֿׁ֫מָּה, 21:33 שָׁמָּה וְנָפַל, 30:18; Judges 8:25; 2 Kings 12:10; pregnantly, after a verb implying motion, as to bury, Genesis 23:13 שָׁ֫מָּה אֶתמֵֿתִי וְאֶקְבְּרָה, 25:10; 49:31; 50:5 (all P), נוֺעַד to meet Exodus 29:42-43, 30:6, 36; Numbers 17:19 (all P), Joshua 2:16; 7:3; Jeremiah 13:7; Joel 4:7, perhaps Song of Solomon 8:5 (? c).
b. שָׁ֫מָּה ֗֗֗ אֲשֶׁר whither Genesis 20:13; Numbers 33:54; Deuteronomy 4:5, 14 + often; where 2 Kings 23:8; 1 Chronicles 4:41.
c. more rarely, i. q. שָׁם there, Genesis 43:30 שָׁ֫מָּה וַיֵּבְךְ, Joshua 2:1; Judges 16:27; 2 Kings 4:11; 9:16; Hosea 2:17; Isaiah 22:18; 34:15; 65:9; Jeremiah 18:2; 27:22; Ezekiel 23:3; 32:29-30, (32:22; 32:24; 32:26 שָׁם), 48:35 ׳י שָׁ֫מָּה, Psalm 76:4; 122:5; Ecclesiastes 3:16.
4 מִשָּׁם from there, thence:
a. often after verbs of departing, taking, etc., Genesis 2:10; 11:8-9, 12:8; 18:16; 24:7; 42:2, etc., Numbers 13:23; 21:12; 22:41 מִשָּׁם וַיַּרְא, Deuteronomy 4:29 מִשָּׁם וּבִקַּשְׁתֶּם, 30:4; Jeremiah 37:12; Hosea 2:17; Amos 9:2-3, 4; Job 39:29 +. Peculiarly, Genesis 49:24 יִשְׂר אֶבֶן רֹעֶה ׳מִשָּׁם Ges De RVm from there [from heaven], (from) the Shepherd (׳י), the Stone (Rock) of Israel, Ew Di Sta from there (where is) the Shepherd of (רֹעֵה) the (Bethel-)stone of Israel; but both forced: text dubious; Gunk by the name (מִשֵּׁם; so ᵑ6) of the Shepherd, etc. (as Ew Di).
b. מִשָּׁם ֗֗֗ אֲשֶׁר whence Genesis 24:5; Numbers 23:13 +.
c. expressing origin, Genesis 3:23 the ground מִשָּׁם לֻקַּח אֲשֶׁר, 10:14 whence (= from whom) came forth the Philistines, Judges 19:18 אָנֹכִי מִשָּׁם, 1 Samuel 10:12 מִשָּׁם אִישׁ, Isaiah 65:20.
d. of the mass, from which something is taken or made, Genesis 27:9; 30:32 (of צאֹן), Leviticus 2:2 זגו מִשָּׁם ׳וְקָמַץ (from the meal, etc., of a מנחה), 1 Kings 17:13 קְטַנָּה עֻגָה מִשָּׁם לִי עֲשִׁי אַךְ i.e. from the meal and oil, 2 Kings 7:2, 19 תאֵֹכל׃ לֹא וּמִשָּׁם, Ezekiel 5:3.