Some translations set each line of poetry further to the right than the rest of the text to make it easier to read. The ULB does this with the poetry in 23:2-7.
2 Samuel 23:8-39 is a list of the famous people in David's army along with some of the special deeds some of them did. (See: [[rc://en/tw/dict/bible/kt/works]])
This is a reference to the covenant God previously made with David. (See: [2 Samuel 7](../07/01.md), [[rc://en/tw/dict/bible/kt/eternity]] and [[rc://en/tw/dict/bible/kt/covenant]]).