For years I've made spaghetti sauce with ground beef, dehydrated it and used on thru-hikes.
I dump the browned grounded beef in boiling water, strain and rinse with hot water and add to tomato based sauce (has soy sauce, salt, garlic etc to help with preservation).
Once I kept some at room temp for 18 months. No problems when I ate it except a lot of the taste was gone.

Amtrak