God gave the people of the Old Covenant a list of commandments and ordinances to obey, knowing that the Israelites had no power to obey them.
He was actually saying to them "Here are all these rules and regulations to follow in order to live holy before Me."
But, there's no way they could keep them.