November 2, 2019 | 8:19am

President Trump said Beto O’Rourke “quit like a dog” in response to the former Texas congressman’s Friday announcement that he was dropping out of the presidential race.

“When Beto quit like … he quit like a dog. I said, ‘See people think this is easy, this isn’t easy,'” the president said at a Friday night rally in Tupelo, Mississippi, hours after O’Rourke stepped down

“He was a nasty guy. He had a couple of policies that don’t work well in the state of Texas. He was against religion. He was against you having a gun, and he was against oil.”

O’Rourke, 47, announced Friday he was ending his fledgling 2020 presidential campaign, amid a struggle to raise money and build support in primary states.

“Though it is difficult to accept, it is clear to me now that this campaign does not have the means to move forward successfully,” O’Rourke wrote in a statement released on social media.