GLENDALE, Ariz. -- The Los Angeles Rams' road to next week's marquee matchup proved a little tougher than expected.
They had shut out the Arizona Cardinals in Week 7, and on Sunday were playing a depleted edition of the same team at University of Phoenix Stadium.
The offense did not have a prolific day, but the Rams created and took advantage of turnovers en route to a 32-16 victory that sets up a showdown with the Philadelphia Eagles.
Jared Goff passed for two touchdowns, Alec Ogletree returned an interception for a touchdown and Greg Zuerlein kicked four field goals as the Rams improved to 9-3 heading into next Sunday's game against the Eagles at the Coliseum.
The NFC East-leading Eagles, led by quarterback Carson Wentz, were 10-1 going into Sunday night's game against the Seattle Seahawks in Seattle.
Goff, chosen over Wentz with the No. 1 pick in the 2016 draft, completed 21 of 31 passes for 220 yards and two touchdowns, with an interception, on Sunday as the Rams ensured their first winning season since 2003.
Rookie tight end Gerald Everett and receiver Sammy Watkins caught touchdown passes.
Running back Todd Gurley rushed for 74 yards in 19 carries and caught six passes for 84 yards.
The Cardinals were without quarterback Carson Palmer, who sustained a season-ending broken arm in the Rams' 33-0 victory in London. Future Hal-of-Fame running back Adrian Peterson also was sidelined because of injury.
Cardinals quarterback Blaine Gabbert completed 16 of 30 passes for 195 yards and a touchdown, with two interceptions.