It's not only about the cost of the weapons itself, but also the cost of the investment in research, which smart weapons require.
On long term the research pays out (smart weapons definitely have the advantage) but if you can't afford the research, well you can still keep somehow up, by using a mass of cheap weapons. After the motto: "A lot helps a lot"
This is similar to the WW2 situation by the way.