The initial expectation was for Ukraine to fall in weeks. The convoys that were headed for Kyiv had Rosgvardia in them - that's basically riot police, not military troops, and they were equipped as such. So no, they were absolutely going for the whole Ukraine (as a puppet state in the west and probably annexations in the east) and instead got stuck in the worst meat grinder Russia has seen since WW2.