No matter the legal systems seem unfair, unjust we are to pray for them. Even though we think they are wrong, it is our job to pray for each one of them.
The Israelites were ruled by Solomon and they were blessed greatly by God – given wisdom in administrating justice among them 1 Kings 3:28.
There are officials who are life Solomon, but not all of them we are to always pray for all the officials all over the world who are in legislation and the legal systems, so they are given the wisdom and discernment in all matter of justice. Pray that they will turn from their wicked ways and to turn their hearts to the Lord and create the laws based on the laws of God and His Word.