I'm a developer who has gone into management.
Most of the software that is churned out just keeps the money flowing.
Garbage collectors, nurses, utility workers, teachers, parents.
All seem infinitely more valuable to humanity then anything developers do, unless you're advancing medical or bio-science.
Admittedly, due to demand and the ever increasing globalisation of systems software is exploding, so developers are in demand.
Most valuable type of person (I despise the word resource applied to people) I guess depends on your definition of what is valuable?