In the old days, a server was fast enough to do everything, you bought it, installed the parts, and ran it for years, sometimes more than a decade, before being turned off. You didn't need to configure infrastructure, because you had already built it, once, and it just worked. It was a much simpler way of doing things because the number of users was known, and you didn't need to scale past that. Also, your users were…
It seems by "programming" you mean setting up a website or a webapp. You know, maybe this is what most of the programmers do, but the whole programming area is much, much more vast.
Very little of what I have been doing in 25 years of software development, or what my colleagues are doing, could be described this way.
Yes, there is some plumbing in networking, GUI, or say UTF-8 handling. But I would guess 95% of our code is original and complex logic.