"God is not a man, that He should lie,
Nor a son of man, that He should repent;
Has He said, and will He not do it?
Or has He spoken, and will He not make it good?"
God doesn't behave as man does, yet mankind often tries to apply human behavior to Him. If things don't go according to our plans, we question God's goodness as if it is possible for Him to be anything but perfectly good. God has demonstrated only good to us in that He sent His Son to die for us while we were yet sinners (Romans 5:8). To atone for our sins and reconcile us to Him. If we doubt God's kindness it is because we ascribe to Him the thoughts we may ourselves entertain. For example, we might withhold something good from someone because they have wronged us. Not so with God. He continues to show kindness even when He is maligned and rejected. We know this is so "for He causes His sun to rise on the evil and the good, and sends rain on the righteous and the unrighteous" (Matthew 5:45). It is the wise person who determines to accept that God's ways are always perfect, and that it is the ways of man that need to change, not God's.
"Let the wicked forsake his way, And the unrighteous man his thoughts;
And let him return to the LORD, And He will have compassion on him,
And to our God, For He will abundantly pardon.
'For My thoughts are not your thoughts,
Nor are your ways My ways,' declares the LORD.
'For as the heavens are higher than the earth,
So are My ways higher than your ways
And My thoughts than your thoughts.'"