NEW YORK — New York Cardinal Timothy M. Dolan joined in mourning what he called the “brutal and irrational execution of two young, promising and devoted police officers” fatally shot Dec. 20 as they sat in their New York Police Department cruiser on a Brooklyn street.New York Police Department officers visit a makeshift memorial Dec. 22 near the site where two fellow officers were assassinated in their patrol car Dec. 20 in the Brooklyn borough of New York. Police said Ismaaiyl Brinsley allegedly ambushed officers Rafael Ramos and Wenjian Liu, fatally shooting them before committing suicide inside a subway station. (CNS photo/Gregory A. Shemitz)

“God’s holy word, which we just heard, and the sermon that follows, are supposed to be good news. Some days that’s tough to give, this good news, and this is one of them,” the cardinal said in his homily during Mass Dec. 21 at St. Patrick’s Cathedral.

According to police, officers Rafael Ramos and Wenjian Liu were ambushed as they sat in their marked police car in the Bedford-Stuyvesant section of Brooklyn.

“We tear up thinking about their heartbroken families; as we are in solidarity with our police officers who experience a ‘death in the family’; as we worry about a city tempted to tension and division,” the cardinal said. “‘Good news’ might seem distant, difficult, even indiscrete, as we anticipate the joy of Christmas four days away, and feel more like we’re near Good Friday.”

A gunman opened fire on Ramos and Liu, shooting both fatally in the head. The suspected shooter, identified as Ismaaiyl Brinsley, then fled to the subway where, police say, he committed suicide. An AP story said Ramos and Liu were part of a special detail assigned to help reduce crime in that part of Brooklyn.

Ramos, who recently turned 40, was married and the father of two sons, a 13-year-old and a college student. He joined the New York Police Department in 2012, after working for several years as a school resource officer. Liu, 32, had been on the New York police force for seven years and had gotten married just two months before being killed.

“Never is the hope of the good news of God’s promise and fulfillment erased for a believer, and the more it is tested the stronger it gets,” Cardinal Dolan said.

He called it providential that Dec. 21, the fourth Sunday of Advent, was “the darkest day of the year, the day of least light as the sun is at its lowest point.”

A hand-painted sign and an image of Christ sit amid flowers and other items Dec. 23 at a makeshift memorial at the site where two New York City Police officers were fatally shot in the Brooklyn borough of New York. Police said Ismaaiyl Brinsley allegedly ambushed officers Rafael Ramos and Wenjian Liu, fatally shooting them before killing himself inside a subway station. (CNS photo/Mike Segar).“Anthropologists tell us that our ancestors millennia ago were gripped with fear and anxiety on this day, wondering if the sun, the light, would reverse its descent and start back up into the sky, if the days would gradually get longer and the light more obvious,” Cardinal Dolan said.

“Year after year, they would hold their breath with fear, only to discover that, yes, tomorrow, the sun would be reborn, and start upward,” he said.

It is “no surprise that the church would place the birth of the Son … right at the rebirth of the sun … and we have Christmas,” he continued.

“At the darkest time of the night, near the darkest day of the year, Jesus the light of the world, was born in Bethlehem,” Cardinal Dolan said. “He will teach us gently and manifest radiantly in his own birth, life, death and resurrection that light trumps darkness, hope beats despair, grace wins over sin, love defeats hate, life conquers death.

“When we’re tempted to question that as stupid and silly, he whispers, ‘Be not afraid: Fear is useless! What is needed is trust!'”

Cardinal Dolan told the congregation that the day before, when he arrived to celebrate Mass at St. Simon Stock Church in the Bronx around 4:15 p.m., he learned “the chilling news” about the murder of Ramos and Liu from the police officers at the church.

He noted that St. Simon is right across from Precinct 46 headquarters, so he asked the officers to take him over there.

“I was able to spend time with 30 or so of them, meeting them, embracing them, trying to console them, praying with and for them. As you observed so well yesterday, Mayor (Bill) de Blasio, it was for them, a ‘death in the family,'” the cardinal said.

De Blasio and his wife, Chirlane McCray, were sitting in the front pew at St. Patrick’s Cathedral, as were Police Commissioner Bill Bratton and Chief of Police James O’Neill.

Later at the St. Simon as he celebrated Mass, Cardinal Dolan said, he “saw out of the corner of my eye, in a chapel off the side of the main altar, hidden from public view, two policemen, on their knees, hats on the floor, heads bowed, hands folded, before the Blessed Sacrament. I silently prayed that they heard those words deep down, “Be not afraid! I am with you!”

Cardinal Dolan then asked Bratton and O’Neill if they would “tell your officers that God’s people gathered at St. Patrick’s this morning thundered with prayers for and with them, and that we love them, we mourn with them, we need them, we respect them, we are proud of them, we thank them!”

“I’ve learned in my six years here that, yes, New York, this huge, throbbing metropolis, can indeed be a place of hurt, darkness, fear and fracture, that our celebrated grit and in-your-face realism can at times turn brash,” Cardinal Dolan said. “But I’ve also learned that New York can also be that “Little Town of Bethlehem,” from which comes, not darkness, division and death, but light, unity and life. That’s New York! That’s Bethlehem! That’s Christmas!”

In a post on his Facebook page, Ramos’ 13-year-old son, Jaden, wrote: “Today I had to say bye to my father. He was there for me every day of my life, he was the best father I could ask for. It’s horrible that someone gets shot dead just for being a police officer. Everyone says they hate cops but they are the people that they call for help. I will always love you and I will never forget you. RIP Dad.”