Both of these are correct, but does one have an emphasis that the other doesnt? Is one more powerful than another in the context of advice? How do the following two sentences differ? A) It takes only one mistake to negate all of the good you have ever done. and B) It only takes one mistake to negate all of the good you have ever done.
A) It takes only one mistake to negate all of the good you have ever done.
and
B) It only takes one mistake to negate all of the good you have ever done.