In the end, Qatar got what it wanted.

The tiny desert state, a thumb-shaped peninsula, craved nothing more than to be better known, to be a player on the world stage, when in 2009 it launched what seemed like an improbable bid to stage the men’s soccer World Cup, the most popular sporting event on Earth. Hosting the tournament has cost more than anyone could have imagined — in treasure, in time, in lives.

But on Sunday night, as the fireworks filled the sky above Lusail, as the Argentina fans sang and their star, Lionel Messi, beamed while clasping a trophy he had waited a lifetime to touch, everyone knew Qatar.