This passage serves as a warning, showing the negative example of those who wandered in the wilderness for forty years and died there. The wilderness wanderings symbolize disobedience to God and its consequences (see Numbers 32:7–11; Deuteronomy 1:19–35; Psalm 106:24–26).