Technically you’re right, but that example (moses and the others in the wild) is from the old testament which doesn’t even apply to Christians. Christians are only to follow the new testament.
Didn't jesus say that he did not come abolish the law of the prophets (aka the old testament)?