Background
The wilderness generation
Background to Hebrews 3–4
God brought Israel out of Egypt and gave the law at Sinai. When they came to the edge of Canaan, spies reported on the land. Most of them were afraid, and the people refused to go in (Num 13–14). God declared that none of that generation, except Caleb and Joshua, would enter. They would wander forty years until they died (Num 14:20–35).
Along the way they quarreled at Massah and Meribah when there was no water (Exod 17:1–7; Num 20:1–13). Psalm 95 recalls this and asks the people today not to harden their hearts as then (Ps 95:7–11). Their children entered the land under Joshua, yet the psalm, written long after, still speaks of a rest to be entered. Hebrews says that rest is still open to God's people (4:7–9).
In Scripture
Hebrews 3–4 · Numbers 13–14