Learner's definition of INTENTION
: the thing that you plan to do or achieve : an aim or purpose
She announced her intention to run for governor.
He seemed to think that I was trying to cause problems, but that was never my intention.
He said he loved her, but he actually had no intention of marrying her. [=he did not intend to marry her]
We have every intention of continuing with this project [=we intend to continue with this project], whatever the cost.
He bought a dog with the intention of training it to attack intruders.
He has good intentions, but his suggestions aren't really helpful.
Sometimes plans don't work out well, despite the best (of) intentions.