Battle ships these days are good for one thing and one thing only. Shore bombardment, they are excellent at supporting troops on the ground within 20 or so miles of deep water. The same can be done with air power but naval guns cost a lot less to operate then F-35’s.