(Exodus 17:15) "And Moses built an altar and he called its name 'the L–rd is my miracle.'" Moses (hereby) said: The miracle that the L–rd wrought (for me) — He wrought it for Himself (i.e., for the sanctification of His name.)
Moses Built an Altar and He Called Its
Mekhilta Tractate Amalek 2:45