Jer 22:15-16

15Are you a king because you compete in cedar? Did not your father eat and drink and do justice and righteousness? Then it was well with him.16He judged the cause of the poor and needy; then it was well. Is not this to know me? says the Lord.