Windows 7 ran okay, but you needed to change the performance settings and set the theme to classic to be at least usable. So Windows XP was more preferable.
I can remember what PC's I've used over the years. (2011-2013) - Medion PC with Windows 7, (2014-2017) - HP Compaq DC7100 with Windows XP Pro SP3, (2017-2021) - Lenovo IdeaPad 120S-11IAP.