It's not that bad - coincidences get people into trouble all the time. The problem in resolving a story with a coincidence is that it robs the main characters of their struggle. It happens in real life, but it's not compelling fiction.
"I lost my job due to things beyond my control, and subsequently lost my house, but three months later I won the lottery. The end." is a great real life story, but it sucks as fiction.
"I lost my job due to things beyond my control, and subsequently lost my house, but three months later I won the lottery. The end." is a great real life story, but it sucks as fiction.