So, you are limiting God's foreknowledge. Did God foreknow Judas? Did He foreknow Hitler? If so, then your logic is universalism.
Foreknew here is as in a relationship of love, God foreknew what God would do for them, that God foreknew those who are His, they are the ones predestined to all be glorified. People like Hitler, God did not foreknow in that way. It is like Jesus saying He NEVER knew them.
If Christ never knew them, Christ also never foreknew them.
Matthew 7:21-23New King James Version (NKJV)
I Never Knew You
21 “Not everyone who says to Me, ‘Lord, Lord,’ shall enter the kingdom of heaven, but he who does the will of My Father in heaven. 22 Many will say to Me in that day, ‘Lord, Lord, have we not prophesied in Your name, cast out demons in Your name, and done many wonders in Your name?’ 23 And then I will declare to them, ‘I never knew you; depart from Me, you who practice lawlessness!’
Doing the will of the Father is that you believe in the Son.
This is the work of the Father, that you believe in the Son.
All those God foreknew, God will do His work in them and all of them will look to and believe in the Son for their eternal life.
John 6:36-38 New King James Version (NKJV)
36 But I said to you that you have seen Me and yet do not believe.
37 All that the Father gives Me will come to Me, and the one who comes to Me I will by no means cast out.
38 For I have come down from heaven, not to do My own will, but the will of Him who sent Me.
39 This is the will of the Father who sent Me, that of all He has given Me I should lose nothing, but should raise it up at the last day.
40 And this is the will of Him who sent Me, that everyone who sees the Son and believes in Him may have everlasting life; and I will raise him up at the last day.”
Everyone who 'sees' the son and 'believes'.
Now today we could not physically see the Son.
So then it must be a spiritual seeing, an understanding, not a physical thing with your fleshly eyes.
That means revelation and God reveals secrets to men through His Spirit.
You can't get that info without being a 'spiritual alive man', so God must give you the new birth in order for you to believe.
1 John 5:20
And we know that the Son of God has come and has given us an understanding, that we may know Him who is true; and we are in Him who is true, in His Son Jesus Christ. This is the true God and eternal life.
1 Corinthians 2:13
These things we also speak, not in words which man’s wisdom teaches but which the Holy Spirit teaches, comparing
spiritual things with
spiritual.
1 Corinthians 2:14
But the natural man does not receive the things of the Spirit of God, for they are foolishness to him;
nor can he know them, because they are
spiritually discerned.
The Holy Spirit teaches spiritually alive people, not spiritually dead people.