Regarding either team “not playing anyone” that’s just the nature of a league where there’s only six actually good teams.
With that said the Eagles did, I believe, have the most wins in the NFL against teams with winning records at least at some point towards the end of the year.
The Niners lost to the Chiefs so they did play one of those six good teams. I forget if there’s any context needed for that matchup based off of injuries or anything like that. The Eagles played the Cowboys twice as we all know but I’ll toss both of those out due to the QB’s. The Cowboys also beat the Bengals with a backup QB early in the season.
You play who is in front of you and these teams have smashed them.