Background
Kadesh-barnea
Background to Numbers 13, 14 and 20; Deuteronomy 1
Kadesh, also called Kadesh-barnea, was an oasis on the southern edge of Canaan, in the wilderness of Paran and Zin (Num 13:26; Num 20:1). Moses notes that it was only eleven days' walk from Horeb (Deut 1:2). It is usually located at springs in the northeastern Sinai, south of Beersheba.
From Kadesh the twelve spies went north to Hebron and brought back fruit and fear (Num 13). There the people refused to go up, and there God sentenced that generation to wander until they died (Num 14). Israel stayed at Kadesh many days (Deut 1:46). Near the end of the forty years they were back: Miriam died there, Moses struck the rock at Meribah, and messengers went from there to the king of Edom (Num 20).
So the wilderness years began and ended at the same spot. An eleven days' journey became forty years, because of unbelief (Heb 3:16–19).
In Scripture
Numbers 13:26; 14; 20:1–21; 32:8; Deuteronomy 1:2, 19–46; 2:14