Wiktionary
good books
n. (context idiomatic English) favorable regard; personal approval; kindly treatment.
Usage examples of "good books".
She'd never seen one, but had read in good books about carp gasping for air on riverbanks.
I thought an interested question might put me back in his good books.