From the prevalent understanding of creation, one might conclude that man was created to obey and worship God. Certainly man’s creation must have served some purpose, but that purpose remains a question.
If man’s purpose was to meet God’s need for obedience and subservience, then events quickly strayed from God’s plan. The Bible account is only two chapters old when God’s supposed plan is subverted, and man becomes something besides what he was created to be, if his purpose was to obey. This is hardly an encouraging or inspiring view of creation.
If one envisioned a “being” whose purpose was absolute, unswerving obedience to a fixed set of laws or rules, then a robot would be the most logical choice. If everyone is supposed to exist in a state of mental/moral/religious “lock-step”, with no room for deviation of thought, belief, or action, then free moral agents are not the way to go. Choices invite a variety of responses, so diversity is inevitable.
In our digital age, man is perfectly capable of making robots which are programmed to follow a specific set of instructions. The programmer develops the rules (the program) and invests those rules into the robot. The robot’s actions are then perfectly defined by the will of the programmer. If God’s desire was creatures which always followed his rules, then he should have programmed us accordingly.
Since God obviously did not create robots, then I suspect that man’s reason for existence is not to be perfectly obedient and subservient. Maybe God is not in need of our adoration and subservience, after all. Perhaps, instead, the God of Love needed a love object, and only a being capable of choice could meet that need. God could have created robots, but he didn’t, because robots could not serve his purpose.