LOS ANGELES — A group of ancient Egyptian deities couldn’t take down the merc with a mouth.

Marvel’s antihero blockbuster “Deadpool” continued to dominate North American movie theaters over the weekend, earning an estimated $31.5 million in its third week and besting newcomer “Gods of Egypt,” according to comScore estimates Sunday.

The total domestic haul for 20th Century Fox’s comic book adaptation starring Ryan Reynolds as Marvel’s foul-mouthed mercenary now stands at $285.6 million, making it the third highest-grossing R-rated film behind “American Sniper” and “The Passion of the Christ.”

Lionsgate’s “Gods of Egypt,” featuring Gerard Butler as a rebellious Egyptian god, debuted in second place with $14 million. The film, which reportedly cost $140 million and also stars Brenton Thwaites and Nikolaj Coster-Waldau, is Hollywood’s first major flop of the year.

Other newcomers that failed to topple “Deadpool” included “Eddie the Eagle” in fifth place with $6.3 million and the heist romp “Triple 9” in sixth place with $6.1 million.

– From news service reports