While technically true, that DDR5 comes with "on-die ECC", it is only because the memory is so unreliable it will not work properly without it.
However, even then, it is not the same as true ECC that have a extra data correction chip on the memory module and also protects against send errors to the CPU.