And the king sent and called for Shimei
Who had cursed his father; he lived at Bahurim, in the tribe of Benjamin, and from thence he sent for him to him, ( 2 Samuel 16:5 ) ;
and said unto him, build thee an house in Jerusalem and dwell there,
and go not from thence any where;
the orders were to remove from Bahurim to Jerusalem, where he was to provide himself a dwelling house, and there continue, and never go out of the city, at least not further on any side of it than it was to the brook Kidron, which was not more than half a mile from the city. This Solomon ordered, to prevent this man going about in the country sowing and stirring up sedition; and that he might be under his eye and notice, that should he commit any evil, and give him an opportunity of punishing him, he might do it as his father had directed him; and he might judge from the temper of the man, and indeed from the nature of men in general, that what they are forbidden they are the most prone unto, that he would transgress in this case, and give him an occasion against him.