Then came Amalek, and fought with Israel in Rephidim.
After this, the Amalekites came and attacked the Israelites at Rephidim.
Read Exodus 17