Hello wanted to ask whether I can safely connect my monitor to my laptop, which has been around for a few years and which also has a decent number of viruses and whether these can somehow be transferred to the monitor and I wanted to mention that I have it I also want to use the monitor for my PC and do not want any viruses on it that are transmitted to my PC
No he can't
A monitor certainly has no memory where a virus could nestle, so no. Reinstalling the OS would be very helpful with viruses.
No, the virus is in the OS.
A monitor can't get a virus because it does not have an operating system where it can nestle. You could say it's just an output device
In theory, this is even possible, but very unlikely