They have a great range and a strong capacity, but the fuel consumption really skews the profit margin on the 340. If that aircraft is not loaded to capacity with PAX and the airline isn't pricing themselves out of the market on seats, a long haul in a 340 is most likely going to end in a loss or a very very small profit (say, a few hundred dollars). Other aircraft are just more efficient.