kto mieczem wojuje, ten od miecza ginie

Etymology
lit. 'who fights with the sword, dies of the sword'. From Polish translations of 26:52.

Proverb

 * 1)  live by the sword, die by the sword