rats desert a sinking ship
The least loyal, trustworthy, or dependable people will be the first to begin abandon a failing endeavor. Times of crisis will test the loyalty of the people you've hired. Rats desert a sinking ship, while the people worth holding onto the most will stay until the very end.