Leibniz held that God always acts for the best yet freely, bound by logic but not compelled to create as He does.

Evidence

God’s actions have the same kind of freedom. He always acts for the best, but He is not under any logical compulsion to do so. Leibniz agrees with Thomas Aquinas that God cannot act contrary to the laws of logic, but He can decree whatever is logically possible, and this leaves Him a great latitude of choice. — Bertrand Russell, History of Western Philosophy, 2122

Categorization

  • XREF: Connects to Aquinas on God’s inability to contradict logic.
  • definitional_content: It defines Leibniz’s conception of divine freedom — motivated but not necessitated — and its relation to Aquinas on logical constraints.