god invented it (satanism) when he gave adam and eve to satan as punishment for "original sin"; like a parent who gives their children to a known pedophile for being disobedient. some people coped by worshipping their victimizer, a thing that often still happens.
United States