Verses with the word unjustly in the Old Testament (2 verses):

Psalms 82:2
How long will ye judge unjustly, and accept the persons of the wicked? Selah.

Isaiah 26:10
Let favour be shewed to the wicked, yet will he not learn righteousness: in the land of uprightness will he deal unjustly, and will not behold the majesty of the LORD.