Perhaps OP meant that he had been dealing with a knee injury, and that doesn't have much to do with "mental frailty" at all:
https://www.espn.com/tennis/story/_/id/30821027/roger-federe...EDIT: Actually the article is from 2012, so I assume its because many of Federer's best years were still ahead of him.