In two previous blog entries, I focused on how the Bible contains both an erroneous statement inconsistent with modern astronomy, as well as a story depicting outright genocide.
Those were bad. But the book of Joshua depicts both at the same time!
Joshua 1010:1 Now it came to pass, when Adonizedec king of Jerusalem had heard how Joshua had taken Ai, and had utterly destroyed it; as he had done to Jericho and her king, so he had done to Ai and her king; and how the inhabitants of Gibeon had made peace with Israel, and were among them;
10:2 That they feared greatly, because Gibeon was a great city, as one of the royal cities, and because it was greater than Ai, and all the men thereof were mighty.
10:3 Wherefore Adonizedec king of Jerusalem, sent unto Hoham king of Hebron, and unto Piram king of Jarmuth, and unto Japhia king of Lachish, and unto Debir king of Eglon, saying,
10:4 Come up unto me, and help me, that we may smite Gibeon: for it hath made peace with Joshua and with the children of Israel.
10:5 Therefore the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, the king of Eglon, gathered themselves together, and went up, they and all their hosts, and encamped before Gibeon, and made war against it.
10:6 And the men of Gibeon sent unto Joshua to the camp to Gilgal, saying, Slack not thy hand from thy servants; come up to us quickly, and save us, and help us: for all the kings of the Amorites that dwell in the mountains are gathered together against us.
10:7 So Joshua ascended from Gilgal, he, and all the people of war with him, and all the mighty men of valour. So Joshua and his mighty men of valor came to fight the Amorites.
10:8And the LORD said unto Joshua, Fear them not: for I have delivered them into thine hand; there shall not a man of them stand before thee.
10:9 Joshua therefore came unto them suddenly, and went up from Gilgal all night.So Joshua attacked.
10:10And the LORD discomfited them before Israel, and slew them with a great slaughter at Gibeon, and chased them along the way that goeth up to Bethhoron, and smote them to Azekah, and unto Makkedah. And God discomfited the Amorites at Gibeon, killing them with a great slaughter, and chasing them along the way.
10:11 And it came to pass, as they fled from before Israel, and were in the going down to Bethhoron, that the LORD cast down great stones from heaven upon them unto Azekah, and they died: they were more which died with hailstones than they whom the children of Israel slew with the sword.
10:12 Then spake Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon.
10:13And the sun stood still, and the moon stayed, until the people had avenged themselves upon their enemies. Is not this written in the book of Jasher? So the sun stood still in the midst of heaven, and hasted not to go down about a whole day.And the sun stood and moon stood still, until Joshua finished killing his enemies. 
10:14 And there was no day like that before it or after it, that the LORD hearkened unto the voice of a man: for the LORD fought for Israel.
This is literally impossible. First, because the apparent movement of the Sun is caused by the rotation of Earth, the sudden stopping of Earth would have caused everything on Earth not attached to the ground to be thrown sideways, including water in the oceans, rivers and lakes. Obviously, that didn’t happen. Likewise, the stopping of the moon in its orbit would have caused it to fall towards Earth, eventually crashing into Earth in only a few days.
Therefore the writer of that story above was not sharing the Word of God at all. And one wonders why so many people consider the Bible to be infallible even now.