A cook can make the best soup in the world but if it takes him all day to do it, he will never make a living cooking it. If this line of thought carries over into coding it might be true that higher quality doesn't mean higher value.
In the first season of the Apprentice the two teams had to renovate and flip an apartment. One team kept their apartment a three bedroom and the other team took out a wall and made theirs a two bedroom. The two bedroom apartment was a lot nicer but it was also worth less than the three bedroom and they ended up in the boardroom with someone getting fired. This is another example of something being higher quality but not necessarily higher value.
Sure, there are a lot of people who create wealth by adding value, but the whole point of OP's article on Bloomberg is that the people who are adding value are not getting the share of that wealth. While there are lots of people earning $127,000 a year and getting $350,000 a year or two after their startup's IPO, they are not making the type of wealth people with 10s and 100s of million dollars are. Do you think Larry Page and Sergey Brin are writing code right now? Probably not. Most likely they are looking for companies for sale that are under valued or added to the Alphabet family will increase the value. I was just pointing out that the state of mind of people making deals when they wake up in the morning isn't motivated by the money, they are motivated by making the the best deal and money is just a side effect. Fundamentally, they are allocating resources, they might not necessarily be creating value. They value is already present in the product or company, they just gain an edge at the game when they understand that product or company is, interestingly enough, under valued.
If people are not passionate about what they are doing, they are just wasting their time. And, my experience is people who are worth 10s and 100s of millions of dollars are passionate about making deals because that is all they do all day. People shouldn't write code because it will make them a millionaire. If people really want to be a millionaire they should make deals, even then they still have to be passionate about that game.