"The Wicker Man" (1973).
I've already mentioned the movie "The Wicker Man" (I'm only referring to the first film, not the bad remake of 2006 with Nicolas Cage) in the thread "What Was the Last Movie You Watched?"
Christopher Lee funded a part of the film with his own money and was very proud of his role as Lord Summerisle. The movie received a lot of excellent critics and won the "Licorne d'Or" (Golden Licorn; The French la licorne means unicorn in English) of the 3rd "Paris International Festival of Fantastic and Science Fiction Film" in 1974.
"The plot centres on the visit of a police officer, Sergeant Neil Howie (Edward Woodward), to the isolated Scottish island of Summerisle in search of a missing girl, named Rowan Morrison. Howie, a devout Christian, is appalled to find that the inhabitants of the island have abandoned Christianity and now practise a form of Celtic paganism.
The island is owned by Lord Summerisle (Christopher Lee). He tells Howie that Rowan was never the intended sacrifice; Howie is. He fits their gods' four requirements: he came of his own free will, has "the power of a king" by representing the law, is a virgin (he has a fiancée, but had no sexual intercourse with her since they are not married yet), and is a "fool" by falling for their deception. Howie warns Summerisle and the islanders that the crops are failing due to the unsuitability of the climate, and that the villagers will turn on Summerisle and sacrifice him next summer when the next harvest fails again, but his pleas are ignored.
The villagers force Howie inside a giant wicker man statue along with various animals, set it ablaze, and surround it, singing the Middle English folk song "Sumer Is Icumen In". Inside the wicker man, Howie recites Psalm 23 and prays to God. Howie and the animals burn to death as the head of the wicker man collapses in flames, revealing the setting sun." (Source: Wikipedia)
The Wicker Man - Wikipedia
https://www.imdb.com/title/tt0070917/?ref_=nv_sr_srsg_0_tt_8_nm_0_in_0_q_wicker%20man
The British TV series "Midsomer Murders" with John Nettles as the first Detective Chief Inspector Tom Barnaby used the topic in the episode "The Straw Woman" (Series 7, #6, original release date 29 February 2004).
It was also used later for an episode in a German TV crime show.