I'm not sure if you've ever read Acts 13:48
Acts 13:48: "And when the Gentiles heard this, they began rejoicing and glorifying the word of the Lord, and as many as were appointed to eternal life believed."
The appointment to eternal life happens first. Belief is the direct result—not the cause—of being chosen by God. Because of humanity's fallen nature, no one would choose to believe the gospel on their own. Therefore, faith is given as a sovereign gift from God only to those He chose before the creation of the world.
God's act of choosing (election) is entirely unconditional and based solely on His grace, not on His foreknowledge of whether an individual would choose to believe.
Romans 8:29-30: "For those whom he foreknew he also predestined to be conformed to the image of his Son... And those whom he predestined he also called, and those whom he called he also justified..."
This describes a seamless, unbroken chain of salvation—from predestination to glorification—that originates entirely with God's sovereign foreknowledge.