“‘When a ruler sins, and unwittingly does any one of all the things which the Lord his God has commanded not to be done, and is guilty,