If I should die, think only this of me:
That there's some corner of a foreign field
That is for ever England.  There shall be
In that rich earth a richer dust concealed;
A dust whom England bore, shaped, made aware,
Gave, once, her flowers to love, her ways to roam,
A body of England's, breathing English air,
Washed by the rivers, blest by suns of home.
And think, this heart, all evil shed away,
A pulse in the eternal mind, no less
Gives somewhere back the thoughts by England given;
Her sights and sounds; dreams happy as her day;
And laughter, learnt of friends; and gentleness,
In hearts at peace, under an English heaven.
The speaker feels that the gift with which he has been endowed, that of Englishness, he can give back through death, by merging with, one assumes, the ‘eternal mind’.  On a practical level, it isn’t clear who should be the recipients of his gift — maybe the foreign country’s population or those back home. 
 Given the  jingoistic  and outdated nature of this sentiment it is odd that this poem remains so popular. However, the innocence and gentle pride of lines like these often provoke amongst students tolerant smiles rather than annoyance. 
 Note the clever balance of the structure of this line, with the grammatical reversal of two clause, a device known as  chiasmus .
The Soldier