Job 35:6 (KJV) 6 If thou sinnest, what doest thou against him? or if thy transgressions be multiplied, what doest thou unto him?
No amount of sin and rebellion can topple God from His throne. God is God; He rules; He will reign forever and forever.
Nothing we do can alter God for Who He is. He’s God, and He will always be God—omnipotent, omnipresent, omniscient, immutable, eternal, sovereign, holy, righteous, just, merciful, gracious, loving, and so much more. He is all those, and more—now, and forever more.
Yes, because of His love for us, He’s grieved when we sin. He’s jealous for us because of His love. He always wants the best for us, and He doesn’t like the idea of us allowing the enemy to rob us of our best. We don’t increase God or diminish His Being when we sin or do good. We obey Him because we as true believers understand: that’s the proper response to Who He is. We honor Him because He is honorable, we worship Him because He’s the greatest Being there is. We know that His commands aren’t burdensome—He’s not giving us a hard time; they’re for our best. Let me quote the context of the passage above: “6 If thou sinnest, what doest thou against him? or if thy transgressions be multiplied, what doest thou unto him? 7 If thou be righteous, what givest thou him? or what receiveth he of thine hand? 8 Thy wickedness may hurt a man as thou art; and thy righteousness may profit the son of man” (Job 35:6-8 KJV).
So yes, doing bad and doing good, ultimately, is doing ourselves bad or good. We choose good.