Then in your example, God's top priority is not having a relationship with humans, it's giving humans free will, which is a higher priority than having a relationship with humans in your example above.
I never said that God's top priority is having a relationship with humans. I said God's top priority is that humans know and worship God.
You still haven't answered my question: Why do you think that God would implement His top priority?
Why wouldn't an omnipotent God allow humans to choose to implement that priority, or choose not to?
I should add that it's ironic that theists talk so much about free will when it's obvious logically that if God knows the future then free will can't exist.
There is no logical connection with God knowing the future and free will not existing.
God knows what humans will do in the future because God is All-knowing, but God's foreknowledge is not what causes people to do what they do.
People will choose to do what God knows they will do only because what people choose to do is identical with what God knows they will do, since God knows everything they will do. However, the choices humans make are not caused by what God knows.
“Every act ye meditate is as clear to Him as is that act when already accomplished. There is none other God besides Him. His is all creation and its empire. All stands revealed before Him; all is recorded in His holy and hidden Tablets.
This fore-knowledge of God, however, should not be regarded as having caused the actions of men, just as your own previous knowledge that a certain event is to occur, or your desire that it should happen, is not and can never be the reason for its occurrence.”
Gleanings From the Writings of Bahá’u’lláh, p. 150
Question.—If God has knowledge of an action which will be performed by someone, and it has been written on the Tablet of Fate, is it possible to resist it?
Answer.—
The foreknowledge of a thing is not the cause of its realization; for the essential knowledge of God surrounds, in the same way, the realities of things, before as well as after their existence, and it does not become the cause of their existence. It is a perfection of God .......
The mathematicians by astronomical calculations know that at a certain time an eclipse of the moon or the sun will occur. Surely this discovery does not cause the eclipse to take place. This is, of course, only an analogy and not an exact image.
Some Answered Questions, p. 138-139