1 Kings 2:29

29 When the news reached King Solomon that Joab had fled to the Tent and was by the altar, Solomon sent a messenger to Joab to ask him why he had fled to the altar. Joab answered that he had fled to the Lord because he was afraid of Solomon. So King Solomon sent Benaiah to kill Joab.