It was the perfect weekend for Alec Ogletree.

“Saturday, Sunday, all football,’’ he told The Post on Monday. “It was nice. Hang with the family too.’’

The view from the couch was oh-so pleasing for Ogletree, and all the Giants. He watched as the Vikings beat the Eagles in the early game on Sunday. He watched as the Jets beat the Cowboys in the late afternoon game. Just like that, the Giants — losers of their last two games — gained ground by doing nothing.

“For sure, misery does love company,’’ Ogletree said, laughing, before turning serious.

“Nobody’s miserable around here,’’ he said. “We still got everything we want to do ahead of us and it’s up to us to perform the way we know we can perform.’’

This is strange, but true: The Redskins are the only team in the NFC East coming off a victory, and it is never a good thing when that moribund franchise is a standard-bearer for anything (other than dysfunction) in the division.

After a 3-0 start, the Cowboys are 3-3 and riding a three-game losing streak. The Eagles, after winning back-to-back games for the first time this season, were pummeled by the Vikings 38-20 and are also 3-3.

The Giants are doing the two-step: They lost their first two games, won their next two games and then dropped games to the Vikings and Patriots by a combined score of 63-24. The Redskins were so bad in their 0-5 start that they fired coach Jay Gruden but they were not so bad that they could not defeat the winless Dolphins 17-16 in a battle of dregs in Miami.

The Eagles face the Cowboys Sunday night at AT&T Stadium and so the Giants, with a win earlier that day against the Cardinals, would find themselves tied for second place, one game from the top spot.

“This league is pretty crazy, a lot of changes the last couple of weeks but we got to focus on Arizona,’’ said tight end Evan Engram, who is optimistic he can return after missing one game with a sprained knee. “That’s the goal to take us to where we want to go, focusing on each week one week at a time, locking in for that opponent.’’

The Giants thus far have only played two games against division opponents, meaning four of their final 10 games are within the NFC East, including two with the Eagles.

Predictably, coach Pat Shurmur backhanded away any attempt at characterizing this past weekend as a positive for the Giants, with the top three teams bunched so closely together.

“That’s what they say,’’ Shurmur said. “Our focus is on Arizona. You control all of that by winning games, and that’s our focus.’’

The two starting safeties took different views of what transpired within the division. Jabrill Peppers said he watched plenty of football but “I don’t really call it scoreboard watching.’’ That the Eagles and Cowboys both lost, he said, is “really none of my concern. My concern is Arizona.’’

Reminded that teams within the NFC East losing games is good for the Giants, Peppers said “Not really, because we’re 2-4, we don’t really care what everybody else is doing.’’

Antoine Bethea, a 14-year veteran, said “of course’’ when asked if he enjoyed seeing the division competition lose.

“That’s the way of getting to the postseason, win your division,’’ Bethea told The Post. “Seeing the Cowboys and the other teams in the division lose, of course, that’s something you want to see, but we got to do our job too.

“I think that’s a no-brainer. We want to see them guys lose but we got to do our part. At the end of the day we got to take care of the Giants.’’

Ogletree adheres to a basic equation when watching games involving division rivals as a spectator.

“You wish everybody stays healthy but you definitely don’t want ‘em to win,’’ he said. “Healthy is fine but I don’t want you to win for sure.’’

There is a difference, Ogletree stressed, playing in a division with a team that is out in front of the pack versus a division with congestion up near the top.

“We can’t sit here and worry about the standings or whatever that means,’’ Ogletree said. “ We have to prepare this week for Arizona. We just focus on the week-to-week thing. Obviously the division is still open but our mindset is on this week.’’