Scholar in training said:
To say this is to deny the very real aspect of man's bias coming into Scripture. Do you think that God intended for people to own slaves, and smack them around as long as they got up in a day or two? Or did he do it because the people were hardhearted enough, and wouldn't have agreed to a set of laws too difficult to follow?
Matthew 19:7-8 niv
"Why then," they asked, "did Moses command that a man give his wife a certificate of divorce and send her away?"
Jesus replied, "Moses permitted you to divorce your wives because your hearts were hard. But it was not this way from the beginning."
Mankind was coming out of great darkness. Hearts of men back then were not like we find today. The Holy Spirit has been transforming cultures where Christianity thrives slowly over the years. It took many years to rid many cultures of slavery. Yet, in parts of the world it exists today.
Just the same, slavery was a means to pay off a debt. For some, it was a way to a meal ticket and board. It was not seen like it is today. The Holy Spirit was not indwelling men and transforming them back then. It was a different mind set in many ways.
Do you think that God is rightly described in Psalm 137? That the One who takes vengeance on Babylon is happy while doing so?
God was rightly described in the following, as well. This is about the future.
Revelation 14:14-20 niv
"I looked, and there before me was a white cloud, and seated on the cloud was one "like a son of man" with a crown of gold on his head and a sharp sickle in his hand. Then another angel came out of the temple and called in a loud voice to him who was sitting on the cloud, "Take your sickle and reap, because the time to reap has come, for the harvest of the earth is ripe." So he who was seated on the cloud swung his sickle over the earth, and the earth was harvested.
Another angel came out of the temple in heaven, and he too had a sharp sickle. Still another angel, who had charge of the fire, came from the altar and called in a loud voice to him who had the sharp sickle, "Take your sharp sickle and gather the clusters of grapes from the earth's vine, because its grapes are ripe." The angel swung his sickle on the earth, gathered its grapes and threw them into the great winepress of God's wrath. They were trampled in the winepress outside the city, and blood flowed out of the press, rising as high as the horses' bridles for a distance of 1,600 stadia (about 200 miles).
I'm sorry, but I read in Ezekiel that God does not take delight in the death of the wicked. He rains on the just and unjust, but he doesn't fruitlessly taunt people.
God does not delight because it means that the one who is wicked had rejected him. God would have rather had him live and believe. Yet, God delights in his perfect justice. Killing off those who were going to murder others causes one to rejoice.
Are you aware in certain Arab countries that young children in schools are taught to hate, and taught to want to kill Jews? Killing off that generation is a solution that political correctness would not allow for today. But, back then? It was good to get those who had implacable hatred to destroy you, out of the way. It made one happy to know that those who would have grown up to kill your children are now dead.
It would be a matter of kill, or be killed. Just like a farmer rejoices when he kills the wolves who were killing off his flock. He will also rejoice if he can kill off the young ones before they get too big to cause trouble. Certain evil cultures were like animals in they way they hated and would destroy you.
Then kindly tell me how the passage in Joshua is
supposed to be interpreted.

Which passage in Joshua? You mean where God made the sun stand still?
Joshua 10:12-14
On the day the LORD gave the Amorites over to Israel, Joshua said to the LORD in the presence of Israel:
"O sun, stand still over Gibeon,
O moon, over the Valley of Aijalon."
So the sun stood still,
and the moon stopped,
till the nation avenged itself on its enemies,
as it is written in the Book of Jashar.
The sun stopped in the middle of the sky and delayed going down about a full day."
Notice the moon? The moon orbits around the earth. The earth orbits around the sun. Technically, if the earth stood still? The moon would not stop. God was doing something quite interesting at that moment in time. In a sense, God froze the universe. Not just the earth. No big deal for God.
So, God can part the Red Sea? Walk on water? Turned water into wine? So? He can speak the words and create the entire universe? What's the big deal if he made the sun's/earth's movement to stop for a while? Its his trainset. He can make it do as he pleases.
It does not say how he made the sun stand still. Does it? It simply says that it stood still in the sky. What was causing the lack of movement is not mentioned. If it said explicitly that God made the sun stop moving around the earth? Then you would have some merit badges due. It only says it stood still in the sky. That was how it appeared to all. It was a statement of relativity. Not one of scientific analysis.
I could just picture what would happen if time travel were possible, and a legalistic technically correct scientist witnessed to Jesus walking on water.
"Hey! Stop! You can not do that! Now! Stop breaking the law of physics!"
Jesus would have just smiled and maybe kicked some water in his face.
Grace and peace, GeneZ