2 Samuel 23:3

New International Version Bible (NIV)
The God of Israel spoke,
    the Rock of Israel said to me:
‘When one rules over people in righteousness,
    when he rules in the fear of God,

Read 2 Samuel 23:3 in other translations