"Test me, O Lord, and try me. Test me like Abraham, as it is written (Genesis 22:1), 'And God tested Abraham and he withstood the test.' Try me like Isaac, who was tested and stood firm. Refine my kidneys; refine me like Joseph, who was refined and found trustworthy.
When he was tested, he said, 'I have no strength, please do not judge me harshly,' as it is written (Psalm 143:2), 'And do not enter into judgment with Your servant.' But even so, God did not turn away from him in judgment, but rather wrote about him, as it is written (I Kings 15:5), 'For David did what was right in the eyes of the Lord, except in the matter of Uriah the Hittite.' From this we learn that a person should not become arrogant and say, 'I am sure of myself.'
Look at David, who possessed all these qualities, as it is said (Psalm 26:3), 'For Your kindness is before my eyes, and I walk in Your truth. I do not sit with deceitful men, and I hate the congregation of evildoers. I will wash my hands in innocence; I will say, 'Do not come into judgment with me.''" "Furthermore, it is said (Ecclesiastes 7:20), 'For there is no righteous man on earth who does good and does not sin.'
And Solomon says before God that a king who hires workers and they do their job well, he should pay them their due wages, and this is considered a great virtue. When is the king praised? When he hires wicked workers who do not do their job well and still pays them their wages, and this is a great act of kindness. And it is also said (I Kings 8:57), 'May the Lord our God be with us, as He was with our fathers.'"