How can YOU not see that God knows all things? That if He created all things, holds all things together, know the future, exists from.eternity past to eternity future, He knows everything? Too bad if it doesn't fit your bad theology!
Well, because, as I've shown you multiple times, "all" almost never means "every single thing" and the bible very clearly shows us that there are things that God does not know.
It's not like we're suggesting that there's a great deal of important information that God doesn't know. His knowledge is vastly beyond our own and His wisdom quite literally appears to be without limit. So much so that it's perfectly acceptable to say, when speaking in general terms, that God knows all things. The problem is, that when you're dealing with doctrine and especially when one is debating the details of one's doctrine, it is important to make the distinction that such comments are being said as generalities. Otherwise, what seems like to some to be a small error, ends up turning into a very large error. In this case, it means that you have to accept that the bible tells falsehoods or that it's self contradictory or both.
So, as I have fully established biblically, God knows all things - that are knowable and that He desires to know. God is not required to be a first person witness to every vile act of perversion, nor, as your doctrine would imply, is He actively holding the knife together as the murderer fillets his victim. God doesn't care about which order the photons are flying off the Sun and in which direction. He doesn't pay any attention to which electrons are going cause the LED at the bottom left corner of your computer screen to light up and when. He isn't interested in which particular order the red blood cells line up in as they pass through the capillaries behind you right eye ball.
Could He pay attention to such things if He decided to? Sure! Could He control such things with meticulous accuracy, of course! Does He have to? NO! Is He required to? Absolutely not! Does He somehow abrogate the office of Godhood by letting such things happen on their own? Certainly not! Why would anyone even suggest such a silly thing?
Likewise, God is perfectly capable of granting privacy to people and He is entirely free to turn His back on the wicked. He isn't so stupid as to do so in a manner that is going to permit anyone to get away with their evil. God is a smart guy and He happens to know just how to run the universe He created without having to be a micromanaging control freak who must know every detail of every event that ever happens anywhere. What He is not immediately aware of, He has means to discover. We see exactly that in relation to Sodom and Gomorrah...
Genesis 18:21 I will go down now and see whether they have done altogether according to the outcry against it that has come to Me; and if not, I will know.”
Then God Himself isn't even the one that went down. He sent two angels to go and investigate. Which, by the way, they did in real time. Not that it took long, but the point is that they did actually have to go there and see what was going on. The mob that they had to strike blind to get away from was all the evidence they needed, of course, but the point is that it was the evidence they came looking for.
So, Frodo, did this episode in Genesis 18 happen or not? Did God say the things Moses recorded or is it a falsehood?