Mao Zedong said this quote

War can only be abolished through war, and in order to get rid of the gun it is necessary to take up the gun.