The generation that left Mitzrayim they were commanded concerning chometz for one day only. This is because they saw the miracles of Hashem with their own eyes. Therefore, this was sufficient to engrain emunah in them for the entire year. However, in later generations, we need seven days to implant emunah in our hearts.
(העמק דבר שמות יג,ד)