Just because God asks a question, it doesn't mean He does not already know the answer...
God also often shows "human emotion" in the Scriptures: jealously, disappointment, sorrow, grief, repentance, etc. All such words and statements are for man's benefit. God speaks to mankind on a...