Though it's hard to be completely certain about things like this, I have a suspicion that only someone with deep freedom (one who makes decisions for reasons that are his own) and who's also a moral being (can experience goodness) can have a meaningful friendship with God. If friendship with God and sharing in His happiness are good things (and it seems they are), then making a creature who could enjoy these things is also a good thing, even if it comes with a liability. There's a risk.