Kevin Spacey never played a villain in a production titled "The 7 Deadly Sins." The iconic association is Se7en (1995), where Spacey portrays John Doe, a serial killer staging murders around the seven deadly sins.
Spacey’s Doe is one of cinema’s most chilling personifications of the sins: methodical, theological, and terrifyingly calm. The film’s climax—"What's in the box?"—cements the sins as narrative architecture. If that’s the reference you meant, the answer is John Doe in Se7en.