It goes without saying, but you should not eat raw or rotten food in Kingdom Come: Deliverance 2, as that will cause food poisoning—which will eventually kill you unless you use a potion to cure it.