Simple: Propaganda and publicity.
Even showing up at such a tournament, let alone winning matches or advancing beyond preliminary rounds, demonstrates ability and strength on behalf of that nation. Monetary profit is also made from advertising, televising matches, merchandise and the many other offshoot effects from such an event.