Then I also gave them statutes that were not good, and decrees by which they could not live
The word "statutes" do not refer to God's law. God permitted them to live by human laws that were not good.
gave them
The word "them" refers to the children of those whom Yahweh brought out of Egypt.