be in/get into somebody's good/bad books
be in (someone's) bad books
To have fallen out of favor with someone due to having offended or mistreated them. I don't think I'll come to the party on Saturday because I'm in Jenny's bad books at the moment.
get into (someone's) bad books
To fall out of favor with someone due to offending or mistreating them. I must have gotten into Jenny's bad books because I wasn't invited to her party on Saturday.