The foremost king of Israel who obeyed God's law till his end,despite his mistakes he was not defined based on his past errors by God but was declared righteous because he showed genuine repentance and he never went back to his mistakes. This teaches us the benefit and importance of true repentance