Ah! Then it wasn't a test of his integrity (whether he is lying or not) but rather a test of the integrity (solidity) of his understanding.
The integrity of ones understanding is dependent on the integrity of ones heart.
This is why coveting—a corruption of the heart—"blinds" a person; It interferes with their ability to understand.
In short: The most common lies are the ones we tell to ourselves.
The Bible teaches about this.
So God only pretended to be angry?
No.
He allowed Himself to feel anger even though He knew the outcome of the thing, just as you would feel anger toward a rebellious son even when you know the outcome of the thing.
So God can make Himself angry whenever He wants?
No.
He gets angry when we provoke Him through our rebelliousness; He gets angry when WE want—in a manner of speaking.
The Bible never says that either spiritual or physical death is evil.
Not true. It does not use the word "evil", but it makes it very clear.
"And fear not them which kill the body, but are not able to kill the soul: but rather fear him which is able to destroy both soul and body in hell."(Matthew 10:28)
Paraphrase through deduction: Physical death, no big deal; spiritual death, very bad.
"And they overcame him by the blood of the Lamb, and by the word of their testimony; and they loved not their (physical) lives unto the death."(Revelation 12:11)
(paren mine)
Then in emulation of our heavenly father it is good for a father to show anger towards his rebellious child when administering punishment. Thanks, now I don't feel guilty about those times when my anger was directed to my children. However, now I feel ashamed that I didn't show my anger every time I punished them.
You are drawing a perverse and far-reaching conclusion that I did not give to you.
Of course! Because if you vent your anger at your young children every time they are rebellious (don't obey you) then the natural thing for them to do is to grow to love you.
Of course...of course. They will love you because they are so grateful that you didn't kill them in your anger.
You know that I didn't say this.
The concepts I gave are simple and easily understood. I can only assume that you are provoking me.
In short, any healthy child will grow up to love a parent who cared enough to correct them. The fact that a person experiences anger toward their child is a sign that they care. If a parent was indifferent, it is a sign that they don't care.
If course, there are exceptions, such as if a parent is completely selfish and gets angry only because they are inconvenienced by their child. Certainly, this parent is not fit to be a parent.