Do you believe that God is omniscient? He knows everything about each of us--what we think, what we do.
But we were also given free will--each of us. The gift of salvation is free to anyone who asks for it.
But only the elect have the ability to ask.