Dying you shall die / surely die
Here’s what it means
You will certainly die.
Why the Bible says it this way
Hebrew repeats the verb in an infinitive-absolute construction to intensify certainty.
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.