Numbers 20:21

NASB
Thus Edom refused to allow Israel to pass through his territory; so Israel turned away from him.