Well the bible talks about an angry God, but people bring the anger on themselves by being stiff and proud and refusing to repent unto Him.
I think you’re right. God put Law in place, and when people speak of the ‘anger’ of God, they’re referencing the reaction of Law upon those who violate it.
Everything is always as it should be. Our ‘job’ is simply to discern the right side of the Law, and stay on it.
As long as you are doing that to the best of your ability, there’s no need to become depressed. Everyone else has the same opportunity.