Mexican President Andrés Manuel López Obrador on Thursday blasted Joaquin “El Chapo” Guzman’s life sentence as “inhumane” — echoing comments made by the convicted druglord himself.

“A sentence for life in a hostile jail” would be “hard” and not worth living, said López Obrador at a morning press conference, according to Reuters.

He did, however, call Guzman out for his murderous ways and drug-fueled life of crime.

“It’s something very painful,” said López Obrador, adding that had “many victims in mind.”

Guzman will spend the rest of his life in Colorado’s supermax prison after being convicted in February on an array of drug-trafficking charges.

Ahead of his sentencing this week, the Sinaloa Cartel leader claimed his incarceration was “physical, emotional and mental torture” — and “the most inhumane situation” he had ever experienced in his “entire life.”

López Obrador told reporters on Thursday that he hoped Guzman’s sentence — while harsh — would lead to less violence in Mexico.

“We think that bit by bit the number of criminal incidents will decline,” he said. “We will continue to create a better society, supported by values, that is not based on accumulating material wealth, money or luxury.”

With Post wires