Something that worked for me is always shopping for a specific meal. Instead of buying ground beef because I might want burgers or tacos or chili, I instead buy everything for a chili. It’s lead to less “oh I forgot I had this beef in here” and more “I better use this nice, fresh beef to make chili because otherwise I’ll go hungry.
It’s not a perfect system, and seems really obvious in hindsight, but has been a paradigm shift for me.