why did god create a devil