It is an abomination to kings to do evil, for the throne is established by righteousness.
Proverbs 16:12 ESV

This is the inverse of v10. A king who does evil is an abomination to God. If he wants his rule to be firmly established and his house to carry on, then he will rule according to God's Law.