Jeremiah 42:21

And now I have this day declared it to you; but ye have not obeyed the voice of the LORD your God, nor any thing for the which he hath sent me unto you.

The people had been plainly told the counsel of the Lord on that very day through His messenger. That counsel was a warning not to go down into Egypt for safety and provision. They refused to obey the voice of the Lord their God in that matter, rejecting the prohibition as if it had not been given. Instead of remaining where He directed, they went to Egypt anyway in direct defiance of what they had heard.