Proverbs 25:5

NASB
Take away the wicked before the king, And his throne will be established in righteousness.