37 So Hushai, David’s confidant, arrived at Jerusalem as Absalom was entering the city.

Read 2 Samuel 15:37 Using Other Translations

So Hushai David's friend came into the city, and Absalom came into Jerusalem.
So Hushai, David's friend, came into the city, just as Absalom was entering Jerusalem.
So David’s friend Hushai returned to Jerusalem, getting there just as Absalom arrived.