Deuteronomy 25:17

Keep in mind what Amalek did to you on your way from Egypt;

Exodus 17:8-16

Then Amalek came and made war on Israel in Rephidim.

Numbers 24:20

Then, turning his eyes to Amalek, he went on with his story and said, Amalek was the first of the nations, but his part will be destruction for ever.

Numbers 25:17-18

Take up arms against the Midianites and overcome them;

Treasury of Scripture Knowledge

Summary

Remember what Amalek did unto thee by the way, when ye were come forth out of Egypt;

Bible References

General references

Exodus 17:8
Then Amalek came and made war on Israel in Rephidim.
Numbers 24:20
Then, turning his eyes to Amalek, he went on with his story and said, Amalek was the first of the nations, but his part will be destruction for ever.
Numbers 25:17
Take up arms against the Midianites and overcome them;

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain