He used a metaphor with the line “In a sense we've come to our nation's capital to cash a check.”
“cash a check” means “take advantage of America's promise of opportunity.”
Metaphor is a figure of language that produces figurative meanings through comparative statements.