Then why did he need to tell us how to behave then? If we are all the perfect creations made in his perfect image he would never have needed to say anything.
But then again this is the god that quite clearly endorses the following in the bible - slavery, abortion, rape, pedophilia, torture, human sacrifice, animal sacrifices, homophobia, misogyny, infanticide, mass genocide, and a myriad of other utterly reprehensible teachings that befit the ignorant, superstitious, desert nomads that dreamt it up to begin with.
Yes you are right about one thing though - man and god got their morals from one another. You just have it the wrong way around is all.