The 8th mitzvah is that we are commanded to emulate G‑d, blessed be He, to the best of our ability.

The source of this commandment is G‑d's statement (exalted be He),1 "And you shall walk in His paths."

This commandment is repeated in the verse,2 "To walk in all his ways." This is explained in the words of the Sifri3: "Just as G‑d is called merciful, so too, you must be merciful. Just as G‑d is called kind, so too, you must be kind. Just as G‑d is called righteous, so too, you must be righteous. Just as G‑d is called pious, so too, you must be pious."

This commandment is also repeated in the verse,4 "Walk after G‑d your Lord." This too is explained5 as emulating the good deeds and fine attributes which are used to allegorically describe G‑d (exalted be He), Who is immeasurably exalted over everything.