Allowing ourselves to at times, perceive a right thing or a wrong thing as the suitable move which in turn, results in the other way, is inevitable. Our own perception and foresight of things makes us do them. Even the rightful power of the conscience steps in and takes charge. Ego or pride is sometimes the culprit. With what others may think or say can be a factor in making or doing what is needed to be done. More frequent than not, we act though the great influence of our hearts.
Our hearts, or our feelings, must be included always in our perception of what is right or wrong. Mistakes along paths are admissible, for it is within them that we are realized and reminded that what we did was right or wrong.
Try to double check to be sure that you are doing what is needed follow what your heart says.