Only if the opponent is KO'd through passive damage, will you avoid Destiny Bond.
FOR EXAMPLE: Let's say that a Wobbuffet has very low health, and is poisoned. When he uses Destiny Bond on you, and you use a non-damaging attack (Like harden or growl or something). Once Wobbuffet is hurt and KO'd by Poison, you will not be dragged down with it, because it didn't get directly KO'd by your attack.