Nah, not insects - Soylent Green.
The movie took place in 2022
https://www.nationalreview.com/corner/turning-our-dead-into-fertilizer/