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