Ecclesiastes 4 discusses how Solomon went to the courtroom, the marketplace, the palace, the temple, and found that leaving God out of the equation leads to injustice in each place.