18 The two of them made a covenant before the LORD. Then Jonathan went home, but David remained at Horesh.

Read 1 Samuel 23:18 Using Other Translations

And they two made a covenant before the LORD: and David abode in the wood, and Jonathan went to his house.
And the two of them made a covenant before the LORD. David remained at Horesh, and Jonathan went home.
So the two of them renewed their solemn pact before the LORD . Then Jonathan returned home, while David stayed at Horesh.