she was the goddess of choice , of victory and defeat , of knowledge magical and medicinal , the guardian of the boundary between spiritual and mundane , and the witness to all crimes against women and children .