The 2021 version of the 'Candyman' story builds on the original legend. It takes the basic elements like the mirror - summoning and the tragic figure of Candyman. It also continues the theme of the Candyman being a product of a racially charged and violent past.
The story of Candyman is purely fictional. It was created to thrill and scare audiences through various forms of media like movies and books. There's no basis in reality for it.