Actually, He did forgive them, but they still suffered the consequences because they broke the one rule that they were given.
Example: Your child disobeys you after you just told them not to do something. Of coarse you forgive them but does that mean they go unpunished?