Wednesday, April 25, 2007

Logic Error

In computer programming a logic error is a bug in a program that causes it to operate incorrectly, but not to fail. Since a logic error will not cause the program to stop working, it can produce incorrect data that may not be immediately recognizable. I have made plenty of them in years of coding.

David was a man after "God's on Heart" but in the 1 Samuel 27:1 he makes a logic error.

1 But David kept thinking to himself, “Someday Saul is going to get me. The best thing I can do is escape to the Philistines. Then Saul will stop hunting for me in Israelite territory, and I will finally be safe.”

Now I do not want to be to critical of David because in his situation I doubt if I would have done as well as he did. Let's have a look at that situation God had said David was going to be King of Israel one day. In chapter 24 and 25 God had delivered David from Saul twice. Then David started thinking trying to reason it out. This is when David makes the logic error "Someday Saul is going to get me. The best thing I can do is escape to the Philistines." Now remember a logic error is a bug in a program that causes it to operate incorrectly, but not to fail. As we read chapters 28 and 29 we see David went to the Philistine king to work for him lied to him about what he was doing. Then came the day when he would have to go out and fight against God's people Israel. God has mercy on David and the Philistine king sends him home. He does not have to fight against God's people and God's anointed. In chapter 30, he gets home the city is destroyed his family is carried off. His man talk of stoning him. He consults with GOD and he finds the raiders, battles them and wins getting back his family. God brings a great victory David suffers no loss.

I think there are two lesson here that are repeated over and over in Scripture.

(1) When we start to try and think our way out of a situation we go down the wrong road. We have blown it and bad stuff will happen someday because of our lack of faith in HIM.

(2) When we do this bad things happen and when they happen Jesus will be there to help us and deliver us. HE give us the victory if we turn to HIM.

As Elisabeth Elliot said:

"Someone who is suffering as a result of his own foolishness or failure may read these words. These griefs are hard indeed to bear, for we feel we might easily have avoided them. We have no one to blame but ourselves, and there isn't much consolation there. Sometimes we imagine that we must bear this kind of trouble alone, but that is a mistake. The Lamb of God, slain for us, has borne all of our griefs and carried all of our sorrows, no matter what their origin. All grief and sorrow is the result of sin somewhere along the line, but Christ received them willingly. It is nothing but pride that keeps me from asking Him to help me to bear the troubles which are my own fault."

No comments: