this is a false statement
a foil is a character who contrasts with another character - usually the protagonist— to highlight particular qualities of the other character. In some cases, a subplot can be used as a foil to the main plot. This is especially true in the case of meta-fiction and the "story within a story" motif.