Then the children of Judah drew near to Joshua in Gilgal: and Caleb the son of Jephunneh the Kenizzite said to him, You know the thing that Yahweh spoke to Moses the man of God concerning me and concerning you in Kadesh-barnea.
A full account of the events that led to the pledge of Hebron to Caleb is found in  Numbers 14:21-24 and  Deuteronomy 1:35,36.  For further comment on these important happenings, see our comments under those passages in these commentaries..