Hi, I have another question about a sentence in my paper. Does this sound alright?

Immigrants envisioned and anticipated America to be an answer to their problems but what they got instead was a world filled with filth.

Yes, that's correct.

Be sure to put a comma after problems.