Numbers 14

Numbers 14:45

"And Amalec and the Chananite that lived in that mountain came down, and routed them, and destroyed them to Herman; and they returned to the camp."
Is there a Bible contradiction in Numbers 14:25?
Contrasting Link: Numbers 14:25

Numbers 14:25—Did the Amalekites live in the mountain or in the valley?

Problem: This verse says the Amalekites and Canaanites “dwell in the valley.” But verse 45 says the opposite, namely, they “dwelt in that mountain.”

Solution: There are two possibilities. One is that these two verses may be referring to different groups. Some of them may have lived in the mountain and some in the valley. Or, it may have reference to the same people who lived in a valley or plateau which was also a mountain relative to the lower area around it from which they “came down” to fight (v. 45).