Our intentions may be very good but because the intelligence is limited the action may turn out to be a mistake - a mistake but not necessarily a sin for sin comes out of a wrong intention.
When you have a great and difficult task something perhaps almost impossible if you only work a little at a time every day a little suddenly the work will finish itself.