Reading Judges and Deuteronomy about administering justice in difficult cases. “You shall appoint judges and officers in all your gates, which the LORD your God gives you, according to your tribes, and they shall judge the people with just judgment. You shall not pervert justice; you shall not show partiality, nor take a bribe, for a bribe blinds the eyes of the wise and twists the words of the righteous. You shall follow what is altogether just, that you may live and inherit the land which the LORD God is giving you.” Deu. 16:18-20.
Here’s an old Hollywood’s portrayal of a famous scene in 1 Kings 3:25 (starring Yul Brynner who played Pharoah in Ten Commandments) in which King Solomon rules in a difficult custody case between two mothers.