Bears have to beat the Packers, or hope that the Cardinals lose to the Rams. If Bears and Cardinals win, then the Rams miss out.
Unfortunately it looks like Goff will be out against the Cardinals and the Packers are unlikely to play their backups, as they haven't clinched the top seed.