That's quite thought provoking!
I don't agree with you on that code isn't valuable – it varies by product complexity, essentiality of the software as part of the business, etc. – but in of itself is the distillation of solved problems, which generally takes years (not months) to work out.
Still, I appreciate you taking the time to break it down, and it's something I'll think about.