The Beguiled is based on a novel from 1987 .
The script of The Beguiled was written by Albert Maltz and is based on the 1987 Southern Gothic novel written by Thomas P. Cullinan , originally titled A Painted Devil .