Part of Speech: Adjective
Definition: Rigidly upright or straight.
Source: Oxford Dictionary
Found in “America” by Claude McKay line 6
The word “erect” shows that the speaker is not afraid of the bitterness or obstacles in her life. She/He can face straight against it without any fear.