The Diary of Anne Frank, also known as The Diary of a Young Girl, was written by a young Jewish girl who was hiding with her family from Nazi persecution. She kept the diary from June 1942 until August 1944, when she and her family were arrested and sent to concentration camps.
Anne's comment that "paper has more patience than people" is in the entry for Saturday, June 20, 1942. This is only a few days after she began writing in a red and white checkered blank book that her parents had given her for her thirteenth birthday.
The quotation is part of the explanation she gives for starting and keeping a diary. She says that though later nobody may be interested in the writings of a thirteen-year-old girl, she has some thoughts she feels compelled to express.
I feel like writing, and I have an even greater need to get all kinds of things off my chest.
She confesses that she is surrounded by all sorts of loving people such as her family and other acquaintances, but she doesn't have a true friend in which she can confide.
All I think about when I'm with friends is having a good time. I can't bring myself to talk about anything but ordinary everyday things. We don't seem to be able to get any closer, and that's the problem.
For this reason, Anne invents an imaginary friend named Kitty and addresses the diary to her. The paper in her diary book, represented by Kitty, unlike the real people she knows, has endless patience to listen to and record anything she wants to say. That's why she says that "paper has more patience than people."