And when God resolved to transfer the government to David, it is in these words, But now thy kingdom shall not continue: the Lord hath sought him a man after his own heart, and the Lord hath commanded him to be captain over his people,.