He was speaking of physical deliverance from Israel's enemies, not forgiveness of sins.
Watch the Teaching: Who Is the Prince That Shall Come in Daniel?