Correct. In fact there is an infinite-dimensional Lie algebra for every Dynkin diagram that does not result in a finite-dimensional Lie algebra.