Why does every file I work on and then save in Sketchup 23 when I open it again become corrupt and it says "this model failed file integrity

Hard to say without seeing the models. Where have you been saving the files as you were working on them?

on local disk c and document

There is a problem that can show that error message, that we have done something about in the next update we will post. I can’t yet say when that will be.

In the meantime, can you post a file that shows the problem, and I can see if it has the issue we know about?