Numbers 20:21

Thus Edom refused to give Israel passage through his territory; so Israel turned away from him.