There is no fail, apart from your failure with comprehension of your native language.
- The character as described in the Bible is a 'he'.
- The character of Harry Potter in the Harry Potter book series is a 'he'.
Two fictional characters, both are characters in a book described as being a 'he'.