I think God can pretty much do whatever he wants as far as sin goes. He seems to do a lot of smiting, taking of firstborns, causing plagues, impregnating other men's wives, etc. When your will is law I guess you are never unethical