Hi Seeker.
God's attributes are all perfect. He can never not be perfect. He is by nature perfect in all His ways, perfect holiness, perfect justice, perfect righteousness, etc. This is not a separate standard that He lives by, rather, it is the very essence of Who God is. So, for God to compromise on any of these perfect attributes, just once, would also mean He would cease to be God. In short, He cannot compromise on Who He is without ceasing to be Who He is. This was exactly the point when we read in Hebrews that Jesus is the same yesterday, today, and forever. God's character never changes. The Law is a reflection of His character. God's Law demands perfect obedience because God is perfectly Holy, righteous, just, etc. God's justice is driven by His holiness. Therefore, He must punish sin. Look at the lengths that He went to so as not to compromise His holiness, justice, righteousness, etc. when Jesus was sent to the cross on our behalf. At the cross we see the greatest act of God's love and mercy towards us and while at the same time, simultaneously, His perfect justice was being satisfied on our behalf. It was done this way so that His perfect holiness and righteousness were not compromised.
In short, God is constrained by His nature. He cannot just wink at sin. A just and Holy God must punish sin. Every one of them. Adam and Eve were cast away from God's presence because His perfect holiness and perfect righteousness, which are foundational to His perfect justice, demanded that seperation as a result of their sin. Not one sin can He turn His back on.
If God could lie why would I believe anything that He said? For that matter, why would I believe His prophets, His believers, or anyone speaking on His behalf? Jesus told us that He is the truth. He told us that His Word is Truth. In the beginning was the Word, and the Word became flesh.... I'll give you a few examples from scripture. God...
1) cannot lie--Titus 1:2
2) "...cannot be tempted by evil, nor does He Himself tempt anyone..."--James 1:13
3) is never unjust, always just.--Dueteronomy 32:4. (The word justice implies guilt in the one receiving the justice)
Is God bound by these truths? Yes. That's why we can trust in His Word.
See Romans 10:2-4; 9-13. 2 Corinthians 5:21. Too much to go over in one post. This is the condensed version. If you or anyone has any questions, please ask. It is only the righteousness of God that can save us, because it is only the righteousness of God that is perfect, as God's justice demands.
Dave