Exodus 17:7

New International Version - UK Bible (NIVUK)
And he called the place Massah[a] and Meribah[b] because the Israelites quarrelled and because they tested the Lord saying, ‘Is the Lord among us or not?’

The Amalekites defeated

Read Exodus 17:7 in other translations