Daniel 9:5sur
We have sinned, and have committed iniquity, and have done wickedly, and have rebelled, even by departing from thy precepts and from thy judgments:
Daniel confesses Israel's sin as departing from God's precepts.
Daniel 9:11sur
Yea, all Israel have transgressed thy law, even by departing, that they might not obey thy voice; therefore the curse is poured upon us, and the oath that is written in the law of Moses the servant of God, because we have sinned against him.
Departing from God's law brought the curse on Israel.