An agency newsletter I subscribe to mentioned a writer whose writing was good, but the story was still rejected. It just didn’t click with the agent.
But that writer kept writing and submitted a second book. The agent grabbed that one.
A friend of mine had her first novel, a romance, published by a major multi-genre publisher. The heroine takes a trip to the Loire Valley in France where romance ensues.
It turned out the editor who picked that manuscript out of the slush pile had just returned from a vacation in the Loire Valley, an area she fell in love with. The setting was one of the things that attracted her to the book.
What were the chances of such serendipity? You never know, so keep writing and vary your stories and settings until you find the editor who was just waiting for that combination.