I’d ask you read the whole chapter to get context
Essentially Israel asks Judah and Edom to join in a conquest of Moab because Moab stopped paying their tributes to Israel.
They get a prophetic word from prophet Elisha.
“He said, "Thus says the LORD, 'Make this valley full of trenches.' For thus says the LORD, 'You shall not see wind nor shall you see rain; yet that valley shall be filled with water, so that you shall drink, both you and your cattle and your beasts. This is but a slight thing in the sight of the LORD; He will also give the Moabites into your hand. Then you shall strike every fortified city and every choice city, and fell every good tree and stop all springs of water, and mar every good piece of land with stones.'"” 2 Kings 3:16-19 NASB
And they fulfill it to the T
“But when they came to the camp of Israel, the Israelites arose and struck the Moabites, so that they fled before them; and they went forward into the land, slaughtering the Moabites. Thus they destroyed the cities; and each one threw a stone on every piece of good land and filled it. So they stopped all the springs of water and felled all the good trees, until in Kir-hareseth only they left its stones; however, the slingers went about it and struck it.” 2 Kings 3:24-25 NASB
until... the king of Moab...
“Then he took his oldest son who was to reign in his place, and offered him as a burnt offering on the wall. And there came great wrath against Israel, and they departed from him and returned to their own land.” 2 Kings 3:27 NASB
The three armies travelled seven days to get to the battle ground, almost died of thirst, experienced miracles and prophecies fulfilled, were given instructions in prophecy, fulfilled it and then a human sacrifice caused them to return empty handed, no tributes, no spoils of war, no bounty, seven day journey back home without the Moabites lifting another sword.
Please interpret verse 27. Especially in light of human sacrifice trumping prophecy. How can The Almighty promise in prophecy ”He will also give the Moabites into your hand“, after meticulous obedience from the three armies and it be overruled by a human sacrifice that generated a wrath, that evidently made them flee in terror without cause. (Moabites into your hand without spoils or objective being met to my mind is not into your hand.)