It is not the least to the purpose what the reasons of this prohibition are; they may be the strongest and gravest reasons, or they may be mere whim.
When you first caused me to be brought here, Miss Havisham, when I belonged to the village over yonder, that I wish I had never left, I suppose I did really come here, as any other chance boy might have come,—as a kind of servant, to gratify a want or a whim, and to be paid for it?
There are no more uses of "whim" in the book.
Show samples from other sources
They flew to Paris on a whim.
This is the devilish thing about foreign affairs: they are foreign and will not always conform to our whim.