Can walk a marathon but can't run 3 miles
I am 26M and I walked the equivalent of a marathon somewhat easily at 4-5kmh (2-3 mph) but my body totally fails at running. After ≈ 3 miles I feel tired, my heart races and can't breathe well.
Realistically how long would it take me to be able to run a marathon? Thank you