There are two types of kings Blessed with “no king like him” based gifts
(1) King Solomon who “fell into sin”
“Did not Solomon king of Israel sin regarding these things? Yet among the many nations there was no king like him, and he was loved by his God, and God made him king over all Israel; nevertheless the foreign women caused even him to sin.” (Nehemiah 13:26)
(2) King Hezekiah who “obeyed God”
“Hezekiah trusted in the LORD, the God of Israel. There was no one like him among all the kings of Judah, either before or after his time.” (2 Kings 18:5)
Likewise, we (though not kings) may learn from these two examples and choose the “right path” in accordance to the “Will of God” (regardless of any fall).