This book is by Einstein and Infeld, and as per Clark’s biography of Einstein, Infeld approached Einstein with the idea of collaborating on a popular work because he was in financial straits. Einstein was aware of this, and the implication seems to be that he agreed to it as a kindness to Infeld, who pretty much carried the load.
This is not to say that Einstein didn’t actually collaborate, and even if Infeld did the writing I’m sure he would have taken pains to reflect Einstein’s views, which were pretty well known to him. At the same time, one should be careful about attributing any particular implications to Einstein personally.
The cite I provided is taken from a question-and-answer format in the book itself, with Albert Einstein answering the questions posed by Infeld, dr_lew.
I provided a link to archive.org. The entire book is available there, for free download. Give it a look.