But whatever myth you think there is for goals that require delayed gratification simply does not exist (at least for most people).
The journey is more important than the destination and all that. Reaching some arbitrary goal doesn't bring you lasting happiness.
No ones born knowing to code, but learning to code can also be fun. Like many other things. The worst thing you can say to somebody learning anything is that "this is very hard to learn".