The entire poem uses an extended poem by implying the comparison between seemingly unlike things. In this metaphor, the captain is Lincoln, the voyage is the war and the ship represents the US
The speaker use the words they and we as if he was giving a speech to young black men. They is refering to the white men we is refering to the black men.