An ISIS-obsessed Queens woman was sentenced Thursday to 15 years in prison — and threw herself a pity party in court for being “so stupid.”

Asia Siddiqui has been locked up since her 2015 arrest for allegedly plotting with her ex-roommate Noelle Velentzas to set off explosives in New York.

“I’ve beaten myself up over and over for being so stupid,” an emotionless Siddiqui, 35, told Judge Sterling Johnson in Brooklyn federal court, as family members looked on from the gallery.

The twisted terrorist wannabe said her loneliness made her turn to writing poetry for the radical jihadist magazine Jihad Recollections.

“I still longed for someone to stumble upon my writing,” she said in court. “A normal person would not have seen that as an opportunity but I was far from normal. I was immersed in the web and had little life outside of it.”

Siddiqui’s lawyer Charles Swift argued for a sentence of 60 to 70 months, saying she played a minor role in the plot that never actually came to fruition.

“There’s a plot to build a bomb but no plan to use it,” he said.

Prosecutor Craig Heeren, who asked for a 20-year sentence, countered by saying Siddiqui and Velentzas’ deadly intentions were clear.

“If the defendant had been successful to what she pleaded guilty to, a crime of violence could’ve been committed and people could’ve been killed,” Heeren told Sterling. “We should take them at their word that they wanted to build a bomb and they intended to use it. These weren’t ephemeral remarks. This wasn’t a lark.”

The judge agreed.

“I always say wheels don’t run without spokes,” Sterling said.

Siddiqui and Velentzas, 32 — who called Osama bin Laden her hero and kept a photo of him on her cellphone — pleaded guilty to attempting to build a weapon of mass destruction in August.

“Why can’t we be some real bad bitches?” Velentzas once said in a meeting with an informant and Siddiqui, as she demonstrated stabbing someone.

The ISIS fangirls taught themselves chemistry and electrical skills to build bombs and researched potential targets for an attack, prosecutors said.

Court papers said the two women discussed possibly attacking the funeral for NYPD officer Rafael Ramos, who was assassinated alongside his partner Wenjian Liu in Bedford-Stuyvesant in 2014.

Velentzas will be sentenced March 5.

Swift declined to comment outside court, as did Siddiqui’s family members.