This is a vicious slander. Jews are taught no such thing. You cannot point to a single verse of Jewish scripture or commentary that remotely suggests such a thing.
And in particular, your translation of goyim is a complete fabrication. Where did you get such an idea? The Hebrew word simply means “nations,” exactly equivalent to the Latin-derived English word Gentiles. Hebrew goy and Latin gens both refer to a nation, tribe, or other such social aggregation. “Two-legged beasts” have nothing to do with it.
Whether out of ignorance or malice, these are poisonous things to say.