Meaning of “be in sb's good/bad books” - Learner’s Dictionary

be in sb's good/bad books

UK informal

If you are in someone's good books, they are pleased with you, and if you are in their bad books, they are angry with you.

(Definition of “be in sb's good/bad books” from the Cambridge Learner’s Dictionary © Cambridge University Press)