The best writing I’ve found on the experience of failure and how painful it can be, is “Eating Glass” by Mark D Jacobsen. A lot of sample chapters can be read here:
https://markdjacobsen.com/eating-glass/I highly, highly recommend this book. I have no connection to Mark but I did find his book through a comment of his on HN.