Context Word: Friendship. 
Question: PersonX wasn't very grateful for PersonY's good friendship, even though _ really needed good friends. 
Answer: PersonX
PersonX wasn't very grateful for PersonY's good friendship, even though _ was a really good friend.