22 " '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,

Please write the text above using proper case.
22 " '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,