Per-capita is way more important, a rich man doesn't need more than one toothbrush and it's detrimental for a country when other men can't afford a single one.
Foreign policy, which is decided by governments that tax the aggregate population (and thus draw from the GDP)? Not in the slightest.
Foreign policy, affected by GDP, certainly plays a role in this.