In many Bibles, there are section headings which are not in the original text. They are added by the publisher as an aid to study and understanding. I find those headings helpful when I am scanning a hardcopy for a particular passage. But the section headings can hide connections. (Chapter breaks, likewise added after the original text was written, share the same risk.)
While studying the book of James, in Chapter 3 in my hardcopy there are 2 sections: "Taming the Tongue" (3:1-3:12), and "Two Kinds of Wisdom" (3:13-3:18). And yet, there is a chance that the chapter is meant as single unit. Consider that 3:1 may set forward the topic for the whole chapter: Cautions for teachers. That first verse says plainly, "Not many should be teachers, knowing that we shall be judged more strictly." From that point of view, "taming the tongue" and "two kinds of wisdom" can be understood as topics specially applicable to teachers, who spend so much time speaking, striving for wisdom, and hoping to communicate something useful. In "taming the tongue" there are warnings against speech that is incendiary or inflammatory, against speech that curses others. In "two kinds of wisdom" there is a contrast between worldly wisdom -- where someone might boast or use their smarts in service of selfish ambition -- and wisdom from above which is more focused on peace and, through peace, cultivating a harvest of righteousness. The wisdom from above employs the teacher's humility to help the learners and beyond.
And so when we open our mouths to teach, all of those warnings and instructions may have been meant for just that moment.