Lufthansa sues a man because he missed his flight

If increasing the fares to lower demand cities results in fewer people flying and lower airline profits, wouldn’t the sensible behavior (from an economic standpoint) for the airlines be to continue the current practices and discourage hidden city ticketing to the extent that they can?