to be in complete agreement with another; to have the same desires as another
—Joe said his plans for Saturday are to sleep in and then watch TV in bed all day. Ahhhh. He’s a man after my own heart.
After Joshua, the leader of Israel, died, the Israelites were led by a series of judges, but the people wanted a king instead. God selected Saul to be their ruler, but Saul soon turned away from God and disobeyed him. The prophet Samuel told Saul,
You have made a foolish choice! You have not obeyed the commandment that the Lord your God gave you. Had you done that, the Lord would have established your kingdom over Israel forever! But now your kingdom will not continue! The Lord has sought out for himself a man who is loyal to him [after his own heart—KJV] and the Lord has appointed him to be leader over his people, for you have not obeyed what the Lord commanded you. (1 Samuel 13:13,14)
The one God chose to be the next king was the boy David. Many years later, while giving a review of Jewish history, the Apostle Paul quoted God as saying the following about him:
I have found David the son of Jesse to be a man after my heart [after mine own heart], who will accomplish everything I want him to do. (Acts 13:22)