2 Samuel 16:5

As King David approached Bahurim, a man from the family of the house of Saul was just coming out. His name was Shimei son of Gera, and as he approached, he kept yelling out curses.
BSB · Berean Standard Bible
And when king David came to Bahurim, behold, thence came out a man of the family of the house of Saul, whose name was Shimei, the son of Gera: he came forth, and cursed still as he came.

Note he came forth…: or, he still came forth and cursed

KJV · King James Version
When King David came to Bahurim, behold, a man of the family of Saul’s house came out, whose name was Shimei, the son of Gera. He came out and cursed as he came.
WEB · World English Bible
And when king David came to Bahurim, behold, there came out thence a man of the family of the house of Saul, whose name was Shimei, the son of Gera; he came out, and cursed still as he came.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

Bahurim
This place is supposed to be the same as Almon, (Jos 21:18,) and Almeth, (1 Ch 6:60,) a city of Benjamin, north of Jerusalem, and apparently not far from Olivet.
2 Samuel 16:14; 2 Samuel 3:16; 2 Samuel 17:18
whose name
2 Samuel 19:16–18; 1 Kings 2:8, 9, 36–44, 45, 46
he came, etc. or, he still came forth and cursed
cursed.
Exodus 22:28; 1 Samuel 17:43; Psalm 69:26; Psalm 109:16–19, 28; Proverbs 26:2; Ecclesiastes 10:20; Isaiah 8:21; Matthew 5:11, 12