This can be stated as two sentences. AT: "to Beer. There was a well there"
# where Yahweh said to Moses, "Gather the people together for me to give them water."
This can be stated as an indirect quote. AT: "where Yahweh told Moses to gather the people together for him to give them water" (See: [[rc://en/ta/man/translate/figs-quotations]])