But of course there is more! The Reformation Study Bible (RSB, using the ESV text and inerrantist apologetic commentary), points out that Moses spoke of the people being scattered (Lev. 26:32-35, Deut. 28:64-67, Deut. 30:1-5). Taking the text of Leviticus and Deuteronomy at face value, it appears that Moses mentioned this exile very early on and again near the end of his life.
So when Ezekiel speaks of this scattering in connection with the laws which were not good, are these events connected? Since God spoke to Moses of this at both ends of his ministry, perhaps God meant that all of the laws He had given were not good, or more to the point they were rules by which the people could not live. Doesn’t this correspond to the Pauline perception of the law? Paul backs away from the idea that the law is not good, but he does clearly proclaim that by it we cannot inherit life. And maybe God, through Ezekiel here, means precisely that: Any law which does not bring eternal life is not good, at least not good enough.