The sayings of King Lemuel contain this message, which his mother taught him.
References for Proverbs 31:1
O my son, O son of my womb, O son of my vows,
do not waste your strength on women, on those who ruin kings.
It is not for kings, O Lemuel, to guzzle wine. Rulers should not crave alcohol.
For if they drink, they may forget the law and not give justice to the oppressed.
Alcohol is for the dying, and wine for those in bitter distress.
Let them drink to forget their poverty and remember their troubles no more.
Speak up for those who cannot speak for themselves; ensure justice for those being crushed.
Yes, speak up for the poor and helpless, and see that they get justice.