"Through thick and thin" is a common idiom, not a specific book. Therefore, there isn't a single author for it.
The idiom is a metaphor meaning "in good times and bad times" or "no matter what the circumstances are". It's been used for centuries and likely originated from the experience of facing challenges and hardships together.