your lord creates what he wills and chooses. the good is not for them to choose. too holy and high is god for what they associate with him.
وربك يخلق ما يشاء ويختار ما كان لهم الخيرة سبحان الله وتعالى عما يشركون