Numbers 20:21

ESV
“Thus Edom refused to give Israel passage through his territory, so Israel turned away from him.”