The point is US military industry is nothing like Russian and European military industry that needs overseas sales for their survival. US military industry will very well survive even without any overseas sales.
Also, while most of the F-35 will be purchased by the US military (about 2000 or so), an additional 1000 is expected to be purchased by foreign customers. This additional 1000 will help in reducing the per unit cost of the US purchase of her 2000.
Overall, foreign sales help bring down the cost of what the US military ends up paying for their hardware.