Ethics from the Divine Attributes
In Tomer Devorah the Ramak teaches that a person should shape his conduct after the Thirteen Attributes of Mercy, using the Kabbalistic concept of the sefiros to illuminate a system of morals and ethics.
Source: Tomer Devorah