Mohammed founded the religion based on the sword.
So did Moses
The Battle of Refidim (or Rephidim), as described in the Bible, was a battle between the Jews and Amalek, which occurred in Rephidim while the Jewish people were moving towards the Promised Land. The description of this battle can be found in the Book of Exodus.
Yahweh announced the extermination of the Amalekites and called on Israel to defeat them, stating that Israel would experience peace with their enemies (Exodus 17:14, Deuteronomy 25:19). This was the first of several conflicts over several hundred years between the Amalekites and Jews.[1]
Moses dispatches his army, which quickly kills the five Midianite kings and slaughters all the Midianite men. (This is
not the war crime, but rather everyday policy.) The Israelites capture all the Midianite women and children and march them back to camp.
Moses is furious that the Midianite women have been spared. (This chapter also fails to mention that
Moses himself is married to a Midianite woman!)
Moses orders his troops to execute all the Midianite boys and all the Midianite females except for the virgins. Isn’t this a kind of sick, grotesquely disproportionate atrocity? It’s collective punishment of a most repellent sort—and all to take revenge for the one bad date between an Israelite and a Midianite girl! Numbers informs us, with its usual fondness for precision, that 32,000 virgin females survive the mass execution (and were then enslaved, incidentally). By my rough estimate, this means the Israelites killed more than 60,000 captive, defenseless women and boys.
https://slate.com/news-and-politics/2006/08/the-bible-s-most-hideous-war-crime.html
Moses Kills an Egyptian
11And it came to pass in those days,
when Moses was grown, that he went out unto his brethren, and looked on their burdens: and he spied an Egyptian smiting an Hebrew, one of his brethren. 12And he looked this way and that way, and when he saw that there was no man,
he slew the Egyptian, and hid him in the sand. 13And when he went out the second day, behold, two men of the Hebrews strove together: and he said to him that did the wrong, Wherefore smitest thou thy fellow? 14And he said, Who made thee a prince and a judge over us? intendest thou to kill me, as thou killedst the Egyptian? And Moses feared, and said, Surely this thing is known. 15Now when Pharaoh heard this thing, he sought to slay Moses. But Moses fled from the face of Pharaoh, and dwelt in the land of Midian: and he sat down by a well.
http://biblehub.com/kjv/exodus/2.htm
MOSES LEADS PASSOVER
Exo 12:21 KJV)
Then Moses called for all the elders of Israel, and said unto them, Draw out and take you a lamb according to your families, and kill the passover.
(Exo 12:26 KJV)
And it shall come to pass, when your children shall say unto you, What mean ye by this service?
(Exo 12:27 KJV)
That ye shall say, It is the sacrifice of the LORD'S passover, who passed over the houses of the children of Israel in Egypt, when he smote the Egyptians, and delivered our houses. And the people bowed the head and worshipped.
(Exo 12:28 KJV)
And the children of Israel went away, and did as the LORD had commanded Moses and Aaron, so did they.
(Exo 12:29)
And it came to pass, that at midnight the Lord smote all the firstborn in the land of Egypt, from the firstborn of Pharaoh that sat on his throne unto the firstborn of the captive that {was} in the dungeon; and all the firstborn of cattle.
(Exo 12:30 KJV) And Pharaoh rose up in the night, he, and all his servants, and all the Egyptians; and there was a great cry in Egypt; for there was not a house where there was not one dead.