I might've set out to write a particular song about a particular girl, but my experience will run out after four lines, so instead of getting obsessed with the girl, I write about the clothes I'm wearing.
An act cannot be defined by the end sought by the actor, for an identical system of behaviour may be adjustable to too many different ends without altering its nature.