Wrong.
You do not explain the context of why such actions were sanctioned. What was the purpose of the action? There was a reason beyond punishment or retribution. What was it?
That's pretty much it, Samaria & Ephraim started to prefer Baal over God and the whole chapter & the preceding ones are pretty much God whining about it. God's also is pissed that the people of Ephraim mix with other races and set up kings without his permission. So I guess that as well as abortion the Bible likes racism but hates Democracy.