The pentium 4 is a single core cpu.
If you plan to play the latest games, it's certain that you will not be enjoying your gaming experience.
Most of the modern games require at least a quad core to ensure smooth performance.
That's the minimum requirement.
You need to upgrade your pc.