What you are failing to see is that the money could of better been spent on something more productive.
By the way, the internet was already invented in concept form by Nikoli Tesla and the telegraph was an early internet.
Government can create jobs, but not with any efficiency.
It must take or borrow the money, which is inherently inefficient, so the loss of productivity with the money is already in the negative before the first dollar is spent.
So in total, the government can create jobs but it does harm the economy in the long run.