This short chapter helps us to understand that though God’s people share with others in the same calamity, it is not the same to them that it is to others, but is designed for their good and shall issue in their good. To the good the prophecy is a correcting rod in the hand of a tender Father, while to bad it is an avenging sword in the hand of a righteous Judge.
True to the character of the Word of God it has two sides like the Sword it is referred to.
For a deeper revelation on this chapter check out this web site: http://www.biblestudytools.com/commentaries/matthew-henry-complete/jeremiah/24.html