It depends how secure your faith is as to whether you want to read it. Peck is not Catholic although Christian and has many sources of influence including new age, Buddhist and Islamic.
The book is interesting and gets readers to think about the nature of life and the way that they live. It has little theology and no grounding in Catholicism. He seems to talk about God and Christ in the kind of vague way that I’ve heard new agey types and some protestants talk. He also seems to imply that religious people are stunted in their spiritual development if they believe in a demarcation between good and evil and in punishment.
If you can read it through a Catholic prism then no harm done.