Numbers 20:18-21

20:18 But Edom said to him, “You will not pass through me, or I will come out against you with the sword.” 20:19 Then the Israelites said to him, “We will go along the highway, and if we or our cattle drink any of your water, we will pay for it. We will only pass through on our feet, without doing anything else.”

20:20 But he said, “You may not pass through.” Then Edom came out against them with a large and powerful force. 20:21 So Edom refused to give Israel passage through his border; therefore Israel turned away from him.