Since God knows the end from the beginning, He need not EVER violate any commandment He issues FOR ALL THEIR GENERATIONS. He simple makes no commandments that He will eventually violate or contradict in the future.
God also clearly sets aside one covenant with His people for another. He clearly states that we have a new covenant in Christ I don’t know why you take an obscure part of levitical dietary law which was clearly rescinded in the NT to try to prove God can’t do what He says We no longer live under levitical law it has served its purpose are you a Jehovah’s Witness? You speak like one