Numbers 32:9-19

9 When they went up to the Wadi Eshcol and saw the land, they discouraged the hearts of the Israelites from going into the land that the Lord had given them.
10 The Lord's anger was kindled on that day and he swore, saying,
11 "Surely none of the people who came up out of Egypt, from twenty years old and upward, shall see the land that I swore to give to Abraham, to Isaac, and to Jacob, because they have not unreservedly followed me—
12 none except Caleb son of Jephunneh the Kenizzite and Joshua son of Nun, for they have unreservedly followed the Lord.'
13 And the Lord's anger was kindled against Israel, and he made them wander in the wilderness for forty years, until all the generation that had done evil in the sight of the Lord had disappeared.
14 And now you, a brood of sinners, have risen in place of your fathers, to increase the Lord's fierce anger against Israel!
15 If you turn away from following him, he will again abandon them in the wilderness; and you will destroy all this people."
16 Then they came up to him and said, "We will build sheepfolds here for our flocks, and towns for our little ones,
17 but we will take up arms as a vanguard before the Israelites, until we have brought them to their place. Meanwhile our little ones will stay in the fortified towns because of the inhabitants of the land.
18 We will not return to our homes until all the Israelites have obtained their inheritance.
19 We will not inherit with them on the other side of the Jordan and beyond, because our inheritance has come to us on this side of the Jordan to the east."

Footnotes 1

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.