is it unsafe if I used Windows 7?
Yes because the security patch of Windows 7 is outdated and ended support by Microsoft 3 years ago and Electrum's latest version no longer supports Windows 7 since the release of version 4.2.0.
So it's safe if you stay using Windows 7 better upgrade to Windows 10 and follow all suggestions from the OP.