Evil also encompasses natural evil (caused by natural phenomena such as disease, earthquakes, and floods).
This does not affect the quality of any relationship.
People don’t “choose” their relationship with God. It is largely dependent on their upbringing, their parent’s religious choices, the influence of their peers, and the people they meet and interact with.
Finally, if God ordained evil to establish an authentic relationship with humanity, how can we explain animal suffering and evil acts committed against animals?
How can it explain suffering and evils committed against those that have not had the opportunity to choose to resist temptation? Children who die from diseases before they are able to choose to love God or choose to resist evil have had no opportunity to build an authentic relationship with God.