Saudi Arabia is a fabulously wealthy country, entirely controlled by its king and his family, who are subject to no oversight and who are constrained by a vague charter
The accused in this oligarchy have no enforceable rights; and the definition of crimes and punishments are effectively left to judges, as well as the rules governing proceeding -- except that the death penalty is always imposed in certain cases, though nothing prevents it from being applied in other cases as well
So in Saudi Arabia, people can be and have been sentenced to death merely for (say) participating in demonstrations
Meanwhile Saudi money can be and is used to import impoverished workers from abroad; and under prevailing practice such workers have no defense against abuse and often are not even free to return home without the consent of their employers
You are, I suppose, free to blather glibly that the real issue here is "religion" -- but such ideological analysis sheds no useful light I can see