The author of Judges (believed to be Samuel) is forced to admit that:
but every man did that which was right in his own eyes
The problem with doing what is right in one's own eyes is that there is no standard. Even though God did not want Israel to have a king, setting up an earthly government gave Israel a set of enforced rules and laws. It wasn't enough for the Israelites to have God's rules and commandments; they wanted an earthly king. But until the king was designated by God, each man determined on his own what qualified as "right."
I hope that I will always be open to learning the truth about falsehood, sin, and error. I don't want to be found doing what is right "in my own eyes." Instead, I want to do what's right according to God for there is "none holy as the Lord: for there is none beside thee: neither is there any rock like our God" (1 Samuel 2:2).