He created man as gods. That was part of the imagery that He gave man. And in the beginning, when He gave them that ability, their imagination is what created their problem.
After they fell in the garden, after Adam fell and disobeyed God, their imaginations became corrupted. He gave them the ability to change their conditions and the world around them by believing and thinking.
That same condition is still available today.
This is only a small portion of the teaching, “You are gods”.