God IS.
HIS thoughts are not our thoughts.
The only and whole "code" in the Bible is this:
Mark 12:
[30] And thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy mind, and with all thy strength: this is the first commandment.
[31] And the second is like, namely this, Thou shalt love thy neighbour as thyself. There is none other commandment greater than these.