Is the sealing surface of your thermostat housing pitted with rust?
By coincidence, today I sanded my thermostat housing because it was weeping from there.
I stuck some sandpaper upside-down on a flat surface (a piece of glass works), and then I sanded the sealing ring of the thermostat housing (I held the thermostat housing in my hand; it was removed from the engine).
I went from 150, to 320, to 600 grit sandpaper.
Depending on the amount of corrosion, only sanding may not be enough. Mine had one really big pit that needed to be welded before sanding.
This is basically the same idea as how some folks sand a cylinder head's mating surface:
https://youtu.be/a8ctywVmzK0?si=PzNuNfCs9QkIN5b7