From Wikipedia
The company pivots to core franchises after Suicide Squad: Kill the Justice League underperforms, contributing to studio closures and reduced spending.