Yup, keep it sanitary and it will come out beer. Unless it smells and or tastes really bad, never dump your beer until it is done. Taste it before bottling/kegging and see. Then if it’s undrinkable toss it.
Some small problems can age out. I just opened a bottle of Christmas ale that, I kid you not is from 2003. It has been in the back of the closet because it had an overpowering ginger taste. Decided I would pop one open and see if it is time to rinse the drain with it. Tasted way better warm so I stuck couple in the fridge to try cold.