Korolev and von Braun were interested in putting main into space and they used military projects to try and advance their own agendas.
I think there's an element of truth to this but I would argue that the programmes used both men more than they used them.