In both Dune and Phantasm, a character must stick their hand into a box where they suffer searing agony which only releases them once they have accepted the pain and faced their fears.
Is there any evidence (interviews, behind the scenes, whatever) where Don Coscarelli (writer/director/producer of Phantasm) addresses this?
Alternately, perhaps both take their inspiration from an earlier work I am unfamiliar with.