Officiating wasn’t the sole reason that the Eagles lost to the Cowboys. Ultimately, the players have to overcome bad officiating and not allow that to decide the game. So the loss is on the players and coaches.
That doesn’t excuse piss poor officiating though. The NFL needs to do something to improve the officiating teams. Making them full-time was supposed to go a long way toward that, but we’re still seeing horrible officiating across the league.