As the Creator, Jehovah has the right to set the standard for what is good and what is bad, what is right and what is wrong.
فَبِوَصْفِهِ ٱلْخَالِقَ ،‏ لَدَيْهِ كُلُّ ٱلْحَقِّ فِي تَحْدِيدِ مِقْيَاسِ ٱلْخَيْرِ وَٱلشَّرِّ ،‏ ٱلصَّوَابِ وَٱلْخَطَإِ .‏