The idea of God as friend as an interesting one. I have never really pictured God as someone you sit around sipping beer and chatting about your life with. It is certainly a modern idea of God. In the ancient world, and I think the Hebrews/Israelites were no exception, deities were big, powerful beings to be appeased or cajoled, not friends. They were quick to anger and slow to forgive. In the case of Yahweh, that seemed to soften over time, at least as far as his own followers were concerned. Eventually, you get Jesus and the Christian movement being focussed more on a God who is more focussed on forgiveness, but is still very much "up there" and not a guy you would have a beer with. The Trinity shifted Jesus himself into being an image of God and I think that's where the shift starts to happen. Now you have a real human being who had friends, who ate and drank with them, who showed concern for people around him. And that becomes an image of God. Still, the God who is Lord of All and dispenses punishment and forgiveness from a throne looms large to this day, even if we see people focussing on Jesus as a more human, friendly God. And I remain unsure myself if the cosmic force of creation is really something we can be friends with in any real sense, though the humanizing image of Jesus as God suggests it is possible.