so no insects are harmed to produce that for livestock: they were harmed to make soybean oil.
Sorry, this is an accounting trick. The cows are still eating an agricultural product that killed insects, we can’t decide ‘oh, actually that’s entirely for oil’ if the soy meal is also valuable enough to sell and export as a product (about 65% of production, per the wiki article you linked).
There also aren’t any livestock that live entirely off soybean meal; a huge amount of corn is also fed to livestock. So even if you want to do shoddy accounting, they’re not being raised off waste and sunlight. A lot of crops are grown exclusively for livestock consumption.
A cow eats more crops which kill more insects over its lifetime than you will by eating plants over the same period, because you eat fewer plants. There’s no way that adding entropy by eating something that ate plants somehow kills less insects, even if you want to take into account dividing up the meat between other people.
Example: steers eat 30-40lbs of feed per day for 1-2 years. Less than half of a steer is usable beef, and will give you a little less than 500 lbs of meat from a 1200 lb steer. Assuming 1/2 lb servings, that’s a little less than 1000 servings of ~500 calories for something that took years to raise and literal tons of crops like corn to be fed to it.