Why Did God Create Humans?

God created humans because he was lonely. We were created for his pleasure and created in his image so we would have the ability to establish a relationship with him.