Jeremiah 22
15 Ref Are you to be a king because you make more use of cedar than your father? did not your father take food and drink and do right, judging in righteousness, and then it was well for him?
16 Ref He was judge in the cause of the poor and those in need; then it was well. Was not this to have knowledge of me? says the Lord.