Erdogan: Attacking religious beliefs equals terrorism