Rome wasn't built in a day, nor are good manuscripts published in one. I've heard similar comments for some time, but they don't really ease the sinking feeling when an email containing the tactful "unfortunately..." that often precedes the 'we are not publishing your manuscript'. So it goes.
Swallow hard. My CV has been once again updated ('under review' becoming 'in preparation'), and time to get back to work on this project. Bigger and better (guided by the reviews' comments). Meetings, coding, and reading. Things to keep me from getting bored.
On a similar note, I got back in touch with a professor from last semester to talk about collaborating and expanding a project I did for class last semester. This happened within a half hour of getting the aforementioned email.
When it rains it pours. Hopefully this will water the seeds.