If it is 4GB of RAM, for office, web browsing, and light gaming ( LoL, DOTA, CSGO,... ) then yes.
If it is 4GB of RAM, for AAA titles, then probably no.
If it is 4GB of VRAM, then it will last for at least 3 years.
You will need more if you like to open 10 windows at the same time.