God is immutable
Do not be deceived, my beloved brothers. Every good gift and every perfect gift is from above, coming down from the Father of lights, with whom there is no variation or shadow due to change. Of his own will he brought us forth by the word of truth, that we should be a kind of firstfruits of his creatures. James 1:16-18 (ESV)
James from the text, adds a glorious dimension to our understanding of God’s goodness by saying that there is “no variation or shadow due to change” with “the Father of lights.” He is stressing for us the idea the immutability of God. God is constant and will never change for He is faithful. In calling God “the Father of lights,” he is taking his readers to the realm of astronomy. This is a realm of constant variation. Stars vary in brilliance. The moon waxes and wanes. The sun rises and sets. It creates all kinds of shadows and sometimes is eclipsed. But that which is ordinary in the realm of astronomy is never true of God. With Him there is never any waxing or waning or any kind of eclipse. He is always the same. And that means God is always good. God does not have days when he has more of goodness than on other days. His goodness is always undiminished and unchanged. Once again if we are not aware of Satan’s deceptions, we will have a tendency to subscribe to the notion that God doesn’t care. Satan will tell you that God has less favor towards you today than he had for you yesterday. And it is your fault! But we have to listen to James. God is good. He always has been and he always will be. He cannot be anything other than good. And this means that God is being good to us even when our circumstances seem to be crying out that He is not good.