nothing wrong with changing your mind, if that's what you're saying
so this part here
does the true God least the Israelites to do this
Joshua 6: 21. They utterly destroyed all that was in the city, both man and woman, both young and old, and ox, and sheep, and donkey, with the edge of the sword.
You are missing some basic truths Dan.
John 1:
1 In the beginning was the Word, and the Word was with God, and the Word was God.
2 The same was in the beginning with God.
3 All things were made by him; and without him was not any thing made that was made.
4 In him was life; and the life was the light of men.
It was this Word which created the OT. Why did He do it?
1 Cor. 10:
5 But with many of them God was not well pleased: for they were overthrown in the wilderness.
6 Now these things were our examples, to the intent we should not lust after evil things,
as they also lusted.
11 Now all these things happened unto them for ensamples: and
they are written for our admonition, upon whom the ends of the world are come.
12 Wherefore let him that thinketh he standeth take heed lest he fall.
Matt. 13:
13 Therefore speak I to them in parables: because they seeing see not; and hearing they hear not, neither do they understand.
14 And in them is fulfilled the prophecy of Esaias, which saith, By hearing ye shall hear, and shall not understand; and seeing ye shall see, and shall not perceive:
15
For this people's heart is waxed gross, and
their ears are dull of hearing, and their eyes they have closed; lest at any time they should
see with their eyes, and
hear with their ears, and should
understand with their heart,
and should be converted, and I should heal them.
14 For we know that the law is spiritual: but I am carnal, sold under sin.
It was Jesus before He became Flesh that created these Spiritual examples for our admonition. They are Spiritual in nature and require a Spiritual understanding.
Joshua 6 is a wonderful story with amazing Spiritual significance. But this meaning isn't given to everybody as Jesus said.
John 14:
15 If ye love me, keep my commandments.
16 And I will pray the Father, and he shall give you another Comforter, that he may abide with you for ever;
17 Even the Spirit of truth;
whom the world cannot receive, because it seeth him not, neither knoweth him: but ye know him; for he dwelleth with you, and shall be in you.
I don't believe the Spiritual intent of the Joshua story is to paint the Word which became Flesh as an unjust God. But many on this forum do just that.
I have a completely different take on the significance of Jericho and the trumpets and the 7 days, and the "walls" that came tumbling down. Not one that paints the Word which became Flesh as an unjust God.