Parents do indeed get "sad/mad" when their children stray. From the Lord's perspective, I believe that is why He "wept over Jerusalem"...
And... that is why He brings correction to His children.
He wants us to grow UP! Of course that correction is for our benefit.
Often human parental correction is based on embarassment at the child's behaviour. Not so with the Lord...
Hebrews 12:5a,6... "...'My son, do not despise the chastening of the LORD. Nor be discouraged when you are rebuked by Him; For whom the LORD loves He chastens. And scourges every son whom He receives.'"
(NKJV).
Now verses 7,8 from the KJV (for emphasis)... "If ye endure chastening, God dealeth with you as with sons; for what son is he whom the father chasteneth not? But if ye be without chastisement, whereof all are partakers, then are ye *******s, and not sons."
Shalom.... WAB
Edit... How's that for emphasis? Guess I should have stuck with the NKJV... (automatic editing)..