I feel like you're applying programmer brain to statements that aren't actually commitments but north stars pointing us in the direction of how we should try and do better. Or phrased differently, "We might be the greatest country on earth, but an even greater country would ___"
And in this case to me the blank is "take on the world's tired huddled masses and set them up to be just as self-sufficient and successful as their native born." And I think that's pretty actionable, just about anyone could probably think of more than a few things that would push us closer to this.
Same applies to entire countries; their capabilities and societal will are greater than an individual's, but still limited.
Declarations of very broad commitments towards the rest of humanity may sound noble, but wise(r) people should stay away from them.