In other words, God's choice of the southern nation over the northern nation had nothing to do with their behavior. Because both were adulterous.
It had everything to do with their behavior.
But, because the Messiah was promised from the line of Judah, God did not divorce the House of Judah.