That passage often gets twisted, as if Jesus is not calling for peace, but calling for war, and by a physical sword no less. That's not the teaching of Jesus, The Prince of Peace, but the false 'religion of peace'. Very twisted. Jesus' Word, The Sword of the Spirit, brings peace with God for those who receive Jesus as Savior, but it doesn't bring 'peace' to the 'earth' because of those who reject Him and God's only Way of salvation, and their determination to have another God, or another or their own way.
But it is THEY that pro-actively bring war and violence, not Jesus. His Sword brings conviction, and we war within ourselves over it because of sin, so in that sense, yes, He did not come to bring peace to the earth, but a 'sword', but that same sword brings peace when we allow it to slash the sin from our lives as individuals, and then as His body, and ultimately in His eternal kingdom, as was rightly stated earlier.
But the lack of 'peace' in the world shouldn't be blamed on Jesus, or a mis-appropriation/mis-application of a biblical text or quote by The Prince of Peace.