Numbers 20:21

Thus Edom refused to give Israel passage through his border: wherefore Israel turned away from him.