Some translations set each line of poetry farther to the right than the rest of the text to make it easier to read. The ULB does this with the poetry in 20:7-18.
This chapter prophesied punishment against a specific leader named Pashhur. He was in charge of protecting the temple and had Jeremiah beaten and arrested. (See: [[rc://en/tw/dict/bible/kt/prophet]] and [[rc://en/tw/dict/bible/kt/temple]])
Jeremiah's reaction contrasts with the reaction of the Jews in general. Although Jeremiah was not happy with Yahweh's actions, he still trusted in Yahweh. On the other hand, the Jews were not happy with the prophecies Yahweh gave to Jeremiah, so they beat the prophet. (See: [[rc://en/ta/man/translate/figs-explicit]] and [[rc://en/tw/dict/bible/kt/trust]])