That is why the well is called Beer-lahai-roi. It is between Kadesh and Bered.