Strong's Hebrew Dictionary
shâm (H8033)
Hebrew: שָׁם (shâm), pronounced shawm.
Origin: a primitive particle (rather from the relative pronoun, 834).
Meaning: there (transferring to time) then; often thither, or thence.
Senses: 1) there, thither; 1a) there; 1b) thither (after verbs of motion); 1c) from there, thence; 1d) then (as an adverb of time).
In the King James Version: in it, [phrase] thence, there (-in, [phrase] of, [phrase] out), [phrase] thither, [phrase] whither.