No, He doesn't have to
program us! He has to deliver us from our sinful natures and He determined to do that. If He hadn't, we'd not care about glorifying Him.
Romans 3
“There is no one righteous,
not even one.
11There is no one who understands,
no one who seeks God.
12All have turned away,
they have together become worthless;
there is no one who does good,
not even one.”
13“Their throats are open graves;
their tongues practice deceit.”
“The venom of vipers is on their lips.”
14“Their mouths are full
of cursing and bitterness.”
15“Their feet are swift to shed blood;
16ruin and misery lie in their wake,
17and the way of peace they have not known.”
18“There is no fear of God
before their eyes.”
19Now we know that whatever the law says, it says to those who are under the law, so that every mouth may be silenced and the whole world held accountable to God.