Releasing the code (and thus methods) related to that strength would decrease some of those benefits.
I am not trying to comment on the validity of using military and intelligence gathering as tools in national benefit. I do, however, consider the US federal expenditures on military and intelligence gathering as a partial proxy for others' thoughts.