Leviticus 26:41:

And that I also have walked contrary unto them, and have brought them into the land of their enemies; if then their uncircumcised hearts be humbled, and they then accept of the punishment of their iniquity:

See also:

Jesus Was Not Really PUNISHED for Our Sins; He Just Shed Blood to Atone for Them