יְקִימְךָ ה’ לוֹ לְעַם קָדוֹשׁ כַּאֲשֶׁר נִשְׁבַּע לָךְ כִּי תִשְׁמֹר אֶת מִצְוֹת ה’ אֱלֹקיךָ וְהָלַכְתָּ בִּדְרָכָיו
G-d will establish you as a holy nation to Him as He swore to you, if you will keep the commandments of Hashem your G-d and walk in His ways.
“Walk in His ways” is the mitzvah to emulate G-d. As the Sifre puts it, “as He is compassionate, so should you be compassionate….” But, the Sefer HaChinuch (Mitzvah 611) asks, what about G-d’s “negative” traits? Should we be wrathful, jealous, etc.? “Not so fast!” the Chinuch replies. G-d doesn’t actually have any negative characteristics. Descriptions that appear to be such things are actually metaphors describing His interactions with us, which are based on our own actions.