All of the three root powers of Kindness, Judgment and Mercy contain everything necessary for reward and punishment (Judgment), the existence of the world (Mercy) and the eternal reward (perfect Kindness). The Supreme Mind calculated in advance everything necessary for the government of all His creatures until the end of the entire cycle. Everything is a single weave of these three powers including all the different kinds of controls, laws and pathways necessary and sufficient to bring about everything that must come into being in the world.
Kindness Judgment and Mercy as Pillars of Existence
Kalach Pitchei Chokhmah 7:11