“תִּמְחֶה אֶת זֵכֶר עֲמָלֵק מִתַּחַת הַשָּׁמָיִם לֹא תִּשְׁכָּח”

“you shall wipe out the mention (זֵכֶר) of the name Amalek (עֲמָלֵק) from under heaven; you must not forget” (Deuteronomy 25:19)

Amalek ‘עמלק’ is numerically 240. It represents the evil side that wants to destroy us. When we ‘wipe out’ the ‘mention’, meaning subtracting the numerical value 227 of ‘זכר’ from Amalek, 240, we left with 13, a number that represents אהבה, love, especially the love of God.
When we remove our inner Amalek, we stay with inner love and peace and can easily connect to the love of Hashem 13 + 13 = 26 = יהוה YHVH.
The final step of removing Amalek from the world would be done by Mashiach. The love and peace that would then spread in the world would allow for the Third Holy Temple to come down to earth.