Gustav was bad general. He was winning in Poland because Poles very weakened by previous wars with Russia and Turkey. Later he lost some battles with Poland and finally Sweden gave back every port they took.