The bible has several passages confirming God's omniscience regarding the present and the future. Here's Isaiah 46:9-10:
Remember all that happened long ago,
for I am God, and there is none other;
I am God and there is no one like me.
From the beginning, I reveal the end,
from ancient times to what is yet to be;
I say, 'My purpose stands,
I shall accomplish all that I please' (REB)
My question is why would a supreme being--who is aware of everything, past, present, and future--realize that mankind is wicked, and regrets his creation?
The Bible has several passages confirming that
God's foreknowledge is selective.
Here is on of them:
Genesis 22:12
“Do not lay a hand on the boy or do anything to him,” said the angel, “for now I know that you fear God, since you have not withheld your only son from me.”
Here is another:
Genesis 18:21
I will go down to see if their actions fully justify the outcry that has reached Me. If not, I will find out.”
There are a few more... Psalm 14:2; Jeremiah 17:10
Have you given consideration to these, in my previous response?
If you did indeed consider this, then your question was answered.
God did not choose to know in advance how man would turn out, and what they would or would not do. God allowed them to exercise their freedom of choice. Deuteronomy 30:19, 20
So he decides to drown the entire planet in a flood. Except for one righteous man, his family, and 2 (or 7) of every species of land animal, bird, and insect.
Since God did not "make it his business" to get to know what man would do, as I mentioned before, in the case of Adam, and in the case of the people living in Noah's day,
God took action, in response to the newly developed situation... one involving the Nephilim - giants that were not mere men, and having a depraved influence in the earth. Genesis 6:4, 5
A global flood was God's decision, since evidently, that would allow God to start mankind off from a people - Noah, and his sons - that were untarnished by the depravity. God started with a new physical earth.
Genesis 6:21
And God looked upon the earth and saw that it was corrupt; for all living creatures on the earth had corrupted their ways.
2 Peter 3:5, 6
And what's even more incomprehensible is that modern Homo sapiens--with his technology and advanced weaponry--is far more dangerous than anyone in the 6th-5th century BC could ever conceive. And we are still here.
True, mankind today is influenced by Satan and his demons. Revelation 12:9, and they have advanced tech.
However, there is a difference between today, and during the days of Noah.
There are no Nephilim, and the angels are not able to impregnate women.
Hence, mankind is influenced to do only what his mind conjures up, with help from Satan, but there are no super intelligent beings with minds super charged with evil.
That is a big difference.
Persons may think having advanced tech is more destructive than in the days of Noah, but that is to underestimate the mind of an angel bent on going in opposition to God, having offspring living as humans.
If you think of advanced robots that are totally rogue, you will get the sense of the difference.
The time for God to judge this wicked world, is near and coming quickly. Zephaniah 1:14; 2 Peter 3:7
He knows when the time is right. He also does not leave things to run amuck, but holds back the reigns, so to speak.
In other word, God is very much involved in making sure, things do not extend their bounds - Revelation 17:16-18; Ezekiel 38:1-23