God’s foreknowledge is such that he knew everyone that would be born before he created the earth and man upon it.
Jeremiah 1:5 Before I formed thee in the belly I knew thee; and before thou camest forth out of the womb I sanctified thee, and I ordained thee a prophet unto the nations.
Psalms 22:10 I was cast upon thee from the womb: thou art my God from my mother’s belly.
Psalms 71:6 By thee have I been holden up from the womb: thou art he that took me out of my mother’s bowels: my praise shall be continually of thee.
Psalms 139:15 My substance was not hid from thee, when I was made in secret, and curiously wrought in the lowest parts of the earth. 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.
Isaiah 49:1 ¶ Listen, O isles, unto me; and hearken, ye people, from far; The LORD hath called me from the womb; from the bowels of my mother hath he made mention of my name.
Isaiah 49:5 And now, saith the LORD that formed me from the womb to be his servant, to bring Jacob again to him, Though Israel be not gathered, yet shall I be glorious in the eyes of the LORD, and my God shall be my strength.
Acts 15:18 Known unto God are all his works from the beginning of the world.
Romans 8:29 For whom he did foreknow, he also did predestinate to be conformed to the image of his Son, that he might be the firstborn among many brethren. 30 Moreover whom he did predestinate, them he also called: and whom he called, them he also justified: and whom he justified, them he also glorified.
Ephesians 1:4 According as he hath chosen us in him before the foundation of the world, that we should be holy and without blame before him in love:
I hope you find this helpful.