From Proto-Semitic *x̣arb-. Cognate with Biblical Hebrew חֶרֶב (ḥɛ́rɛḇ, “sword”).
Practice speaking and memorizing "حرب" and many other words and sentences in Arabic.