Does "la fille lui avait manqué" mean "the girl had cheated on him" or "he had missed the girl"? It appears to be the latter, but how does this make sense in context?

Does “la fille lui avait manqué” mean “the girl had cheated on him” or “he had missed the girl”? It appears to be the latter, but how does this make sense in context?

It’s the second option. I’m sorry but I don’t know yhethe hokehole story.