Cook the diced bacon in a large Dutch oven over medium heat until crisp. Remove the bacon with a slotted spoon and set it aside, leaving the fat in the pot.
Season the beef cubes with salt and pepper. Brown the beef in batches in the bacon fat until all sides are seared. Transfer the browned beef to a plate.
Add the minced garlic, sliced carrots, and pearl onions to the pot. Cook for 5 minutes, stirring often, until the vegetables start to soften.
Sprinkle the flour over the vegetables and stir for 1 minute. Pour in the red wine and beef broth, scraping the bottom of the pot to release any browned bits.
Return the beef and bacon to the pot. Add the thyme sprigs and bay leaves. Bring the mixture to a simmer, then cover and cook on low heat for 2 hours.
Stir in the quartered mushrooms and continue simmering uncovered for 30 minutes until the beef is fork-tender and the sauce has thickened.
Remove the thyme sprigs and bay leaves. Let the stew cool completely before dividing into freezer-safe containers.