PCEm can emulate 1Mhz processors up to mid 00's processors and even gpus like 3Dfx Voodoos so it's perfect for Windows 9x gaming, probably even XP gaming if your rig is powerful enough and I guess even 3.1 and of course also DOS games even though DOSBox is more comfy for that for the most part.
It is superior in that regard to "classic" VMs like VMWare, Virtual Box etc that have problems with many games.
1) download the main program
https://pcem-emulator.co.uk/downloads.html
2) Copy some ROMs (config files for the "hardware")
https://github.com/BaRRaKudaRain/PCem-ROMs
3a) Install your guest OS
3b) Or just copy this fully configured Win98 SE install for PCEm that you can get from here:
https://archive.org/details/pcemwin98se
You can change the "hardware" stats in the config to your liking.
4) Here is a guide how to transfer files from and to the VM from a Windows host system, for copying save files, mods and whatever your heart desires. PCEm does not have an inbuilt system like other VMs so this is a decent workaround.
I am currently replaying Anno 1602 on it, works like a charm with a mere 166Mhz Pentium emulated.
