Do not learn the ways of the nations
"Do not act like the other nations act"
dismayed
worried or upset
by the signs in the heavens
"by strange things in the sky"
for the nations are dismayed by these
"for the people of the nations are afraid of the strange things they see in the sky"