Did God know that he was going to have to murder nearly every living thing on the planet with Noah's flood?

If he didn't know, then he isn't omniscient. If he did know, then why didn't he just skip all the preliminary BS and jump to the flood or even afterwards? Why not save everyone that he had to murder in the flood?
Yes, he knew he was going to murder everyone
No, he was surprised that he had to murder everyone
Select gender and age to cast your vote:
Did God know that he was going to have to murder nearly every living thing on the planet with Noah's flood?
Post Opinion