If you read the passages about how God knows things, it becomes more clear. God "searches" our hearts to see if there is any wicked way in us. He "numbers" (counts) the hairs of our heads. If these passages mean what they seem to say, then God acquires information that He didn't have before. God "tested" Abraham in order to know something. God went down to Sodom to see if the report about them was true. There are two ways to take these passages.
1. That God's knowledge never increases, and therefore He already knew our hearts, our hairs, Abraham's faithfulness with his only son, and the full extent of Sodom's wickedness. In this case the bible passages are giving a fake view of God, because they mean exactly the opposite of what they say on the surface.
2. That God's knowledge increases as there is more information available, and God uses His senses (whatever "senses" are like for a spirit) to gather information. In this case, the passages are easy to understand, but what it tells us is in conflict with what we believe about God, which is #1: that God's knowledge never increases.
How do we know which one is correct? Don't we search the scriptures to see which one is true? If so, then the scriptures which say God's knowledge increases are equally important as the ones that say God has always known everything that will ever happen.
But the funny thing is that there are absolutely no scriptures that say God has always known everything that will ever happen. So if there are some scriptures that say God's knowledge increases and no scriptures that say His knowledge is static, which position should we choose?
The answer seems obvious to me.
Maybe angels bridge the gap. It doesn't make any sense that God can have intimate knowledge at all times of 50 billion swallows, but not know what's going on with Adam and Eve, Abraham, and Sodom. Or why His vineyard's growing wild grapes. It doesn't make any sense.
So if instead, there are so many angels that they saturate space and time, they act as God's eyepieces, so that He never irresponsibly, like an irresponsible landlord, or an irresponsible ship's captain, misses something in the discharge of His duty (a passion project, since ofc nothing can impose a duty on God!) which leads to injustice, then perhaps we can have our cake and eat it too.
Do you find the following Scriptures literal, or figurative, metaphorical, symbolic, etc.?
$$ Ps 139:4
For [there is] not a word in my tongue, [but], lo, O LORD, thou knowest it altogether.
$$ Ps 139:7
Whither shall I go from thy spirit? or whither shall I flee from thy presence?
$$ Ps 139:8
If I ascend up into heaven, thou [art] there: if I make my bed in hell, behold, thou [art there].
$$ Ps 139:11
If I say, Surely the darkness shall cover me; even the night shall be light about me.
$$ Ps 139:12
Yea, the darkness hideth not from thee; but the night shineth as the day: the darkness and the light [are] both alike [to thee].
$$ Ps 139:16
Thine eyes did see my substance, yet being unperfect; and in thy book all [my members] were written, [which] in continuance were fashioned, when [as yet there was] none of them.
$$ Ps 139:18
[If] I should count them, they are more in number than the sand: when I awake, I am still with thee.
$$ Ps 139:19
Surely thou wilt slay the wicked, O God: depart from me therefore, ye bloody men.
$$ Ps 139:20
For they speak against thee wickedly, [and] thine enemies take [thy name] in vain.
$$ Ps 139:22
I hate them with perfect hatred: I count them mine enemies.
$$ Ps 139:23
Search me, O God, and know my heart: try me, and know my thoughts:
$$ Ps 139:24
And see if [there be any] wicked way in me, and lead me in the way everlasting.
I'm curious your interpretation of these verses, if you take them literally. If you don't take them literally, then maybe the presence of a diluvian population of angels can help to explain the prima facie disagreeing inferences we make from different sets of verses, such that, angels, as God's agents, as His 'tentacles' almost, are everywhere, and could report to God everything they see, but God doesn't as a matter of course always inquire of angels what's happening in every last case, unless it's 50 billion swallows, in which case He wants to know up-to-the-moment information on every last one of them.
I'm joking. It's not, I don't think, impossible on its face, that we might be surrounded by an engulfing host of angels at all times, so that exhaustive knowledge is always possible, not directly, but through a network of angels, to God, and, that He doesn't as a rule, necessarily utilize this surveillance network all the time and in every case. He certainly doesn't need to, if He doesn't want to. There is no duty imposed on Him.