Not unusual for Popes to have their diaries/inner thoughts published...Pope John XIII, John Paul II
...and even Mother Teresa, who seriously questioned whether Jesus ever heard her prayers. Difficult to hear, but good to know they took their calling seriously...and acted accordingly.