I think it was described quite well in an excerpt of a book called “The Dogma of Hell” by Father Schouppe.
A woman was meditating on the justice of God. She couldn’t reconcile the immeasurable severity with the Divine goodness. “Lord,” she said, “I submit to Thy judgments, but do not push the rigors of Thy justice too far.”
"Do you understand," was the answer, “what sin is? To sin is to say, God, I will not serve Thee! I despise Thy law! I laugh at Thy threats!” “I understand, Lord, that sin is an outrage to Thy Majesty.”
"Well, measure, if you can, the greatness of this outrage." “Lord this outrage is infinite, since it attacks infinite Majesty.” "Must it not, then, be punished by an infinite chastisement? Now, as the punishment could not be infinite in its intensity, justice demands that it be so at least in its duration. Accordingly, it is the divine justice that wills the eternity of the pains."
Ultimately, we follow God’s laws because it is for our good. It isn’t because God just wants to control us.