If one discovers that a brand of tshirt is being manufactured using slave labor, a reasonable response is to buy another brand of tshirt. Clearly more is needed to solve the problem, but the slave labor doesn't "rub off" on the other tshirt, it's obviously silly to say "don't wear tshirts, some of them are made by slaves".
It's no different with beef. Most beef in the USA comes from the USA, and you might raise various objections about the treatment of cattle, pollution from runoff, and so on, but it isn't contributing to rainforest deforestation, so that isn't a good reason to not eat it.