Yes, it does say that in respect to the moral laws. But not shadows as ceremonial laws. God does not give moral laws as parables.
look to the two different reasoning in both accounts. That ceremonial law is used as a parable comparing the rest to the 7 th day and the glorious moving them out of Egypt out of bondage on the first day .let there be light.
Exodus20: 11 for six days hath Jehovah made the heavens and the earth, the sea, and all that [is] in them, and resteth in the seventh day; therefore hath Jehovah blessed the Sabbath-day, and doth sanctify it.
Deuteronomy 5: 15 and thou hast remembered that a servant thou hast been in the land of Egypt, and Jehovah thy God is bringing thee out thence by a strong hand, and by a stretched-out arm; therefore hath Jehovah thy God commanded thee to keep the day of the sabbath.
The Sabbath as ceremonial are temporal .Unlike like the moral laws that pertain to today as long as it is or under the Sun this creation .. This is any time (timeless) if we hear the voice of God and do not harden our heart in unbelief (no faith) we have entered His rest from our own work by mixing faith the unseen in what we do hear.
Hebrews 4:1-7 Young's Literal Translation (YLT)We may fear, then, lest a promise being left of entering into His rest, any one of you may seem to have come short, for we also are having good news proclaimed, even as they, but the word heard did not profit them, not being mixed with faith in those who heard, for we do enter into the rest -- we who did believe, as He said, `So I sware in My anger, If they shall enter into My rest -- ;' and yet the works were done from the foundation of the world,for He spake in a certain place concerning the seventh [day] thus: `And God did rest in the seventh day from all His works;'and in this [place] again, `If they shall enter into My rest -- ;'since then, it remaineth for certain to enter into it, and those who did first hear good news entered not in because of unbelief -- again He doth limit a certain day, `To-day,' (in David saying, after so long a time,) as it hath been said, `To-day, if His voice ye may hear, ye may not harden your hearts,'
The key. Study as to what being mixed with faith in those who heard means.,