The actual consequence of learning programming is money. A material reward that improves quality of life. I’ll also wager that intelligence does transfer to other domains but that’s just MHO.
Source? I see estimates from 6m to 150. I don’t think anyone really knows, but I expect it’s more like 6, which is somewhere around a good developers nest egg.