God isn't like the parent who gives praises to a child only when they make good decisions and then blasts them when they mess up. If that was the case, I'd be in God's doghouse (much) more often than I would be out of it. Fortunately, God's goodness is not determined by my obedience. He is slow to anger, abounding in love, and continues to share good things with His children even if we haven't done anything to deserve such blessings. This doesn't negate the need for me to follow His commands, but it reinforces the perfection of His Holiness. He is the God of all good things and is willing to dispense them liberally to His children.