I Kings 11 describes how King Solomon allowed his heart to be turned away from God by his foreign wives. He broke the covenant with God and his heart was not fully devoted to Him (:4). But verses 11-12 tell us that God showed grace to Solomon. “The LORD said to Solomon, ‘Because you have done this, and you have not kept My covenant and My statutues, which I have commanded you, I will surely tear the kingdom from you, and will give it to your servant. Nevertheless I will not do it in your days for the sake of your father David …”. God did not take the kingdom away from Solomon during his lifetime, although he deserved for that to happen. But it was NOT because Solomon “deserved” it — but “for the sake of your father David.”
This is a picture of the grace God exercised towards us in Christ:
Just like Solomon, we have all broken God’s commandments. We deserve His full punishment. But again like Solomon, God does not give us what WE deserve either. He is gracious to us. And as in Solomon’s case, He shows us that grace for the sake of another: in Solomon’s day it was for his father David; in our case it is for the sake of the Messiah who came in the line of David, the One who was called “The Son of David”, Jesus Christ. For HIS sake God is gracious to everyone who calls upon Him, and as a result we do not receive the punishment we deserve. Although Jesus would not come until hundreds of years later, what God did with Solomon foreshadowed what He would do for us in His Son, as a picture of His grace.