There isn't a universal answer to this question since it can depend on the particular book, journal, or publisher. In general, however, a book chapter is generally not considered to be the same as a publication in a peer-reviewed journal. This is because book chapters typically go through a different editorial process than journal articles, and they are often not peer-reviewed in the same way. However, some book chapters may be considered more equivalent to publications than others, depending on the particular circumstances. If you're unsure about whether a book chapter would be considered a publication in your specific case, it's best to ask the book's editor or publisher.