San Francisco needed to play together, and they finally did against Chicago, setting up a must-win matchup against the Rams.