Stew shelf life?

Dear community, Yesterday I cooked for guests coming over at the weekend. I used a fairly large pot with tomatoes, potatoes, tofu, and beans. I left it at room temperature with the lid on overnight, then heated it up and ate it. Everything tasted fine. However, if I put it in the fridge now, will…