Numbers 20:21

Amplified Bible (AMP)
Thus [the king of] Edom refused to give Israel passage through his territory, so Israel turned away from him.

Read Numbers 20:21 in other translations