Before the viva, your examiners will have an idea of the outcome. They’ve read your thesis; they have thought about it; they have experience. They will have an outcome in mind before the viva based on what they think of the thesis.
But it’s not set in stone. It’s an outcome they think is likely, but you still have to show up and show them what you know, what you think, what you can do.
In very rare cases examiners tell candidates the result at the start of the viva. In those cases they are so sure of the viva outcome that they want to put the candidate at ease to then have a great discussion. But those cases really are rare. Don’t expect it for your viva.
Expect that your examiners will have an idea: they do their job in the preparation and come prepared to do their job on the day. They come with a decision that they look to see confirmed by your actions and your words.
You can make a decision too. You can decide to be ready for your viva. You can decide how you will show up on the day.