every religion has such sayings. Unfortunately, many Muslims use them to mislead when some of their brethern indulge in acts of mindless violence all in the name of Islam.
So beware. Learn to analyze before accepting the position that the followers really stand for peace. They are exploiting the double talk in their religion to good use to hoodwink ignorant or the opportunistic ones among other religions.