Geographically these are merely the names of stopping places in the wilderness. Translated, the first name means “Graves of Desire”, and the second means “Courtyards”. Preachers have often discovered a link between them.
The idea is this: lust and sinfulness besmirch our character, take the meaning and purpose out of human life and symbolically bring us down to the grave. It is still possible, though, for us to repent, lift ourselves up out of a “virtual” grave (see the “Valley of Bones” story in Ezekiel 37) and live again in God’s courts (see Psalms 84 and 92).