There’s no reason there has to be peace for a thousand generations. Ben just says the Jedi were the guardians of peace in that time.
Palpatine in AOTC says the Republic has stood for a thousand years. Potentially a discrepancy between that and Ben’s line, but you could explain it. Either way neither of them says there was no war at all for that long.