Better option - put motors on it, get it into Earth orbit, mine the heck out of it.
And when we’re done with it we can use mass drivers to send it into the sun.
The amount of energy that would be required to “divert” any asteroid into “any” planetary orbit, would be extreemly significant, and undooable. so the question goes, Can we survive as a species if we know one is heading our way?
My answer, we have the knowledge, yes, but, I for one wouldn’t trust the gov’t to actually give a rats a$$ about any of us. But I digress, if one of them there asteroids hits earth, it will be moot. Nothing will survive. It dosen’t need to be the size of Texas either, if it’s solid enough(mass) and zoomin fast enough (speed), it can be the size of a city block, which incedentally no observatory would be likely to detect. Within the cosmological context the physical earth is fragile.