It costs Microsoft about $3 per CD for its Windows, when they were selling it on CD or DVD.
You weren’t paying for the CD. You were paying for the tens of thousands of man hours to develop it.