In Perek 9, Moshe tells the nation that they should not think it is because they are so worthy that is the cause of Hashem choosing them and to place them in Eretz Yisrael. He then goes on to remind them of all the bad things they have done and all the ways they have upset Hashem.
I think the lesson being given here is an important one. It is similar to the way Moshiach can come. The passuk says "Be'ito Achishena" and chazal explain that as indicating their are two ways moshiach can coem - either because we are so worthy and then his arrival will be hastened or despite our not being worthy, and then he will come at a certain time and we will experience certain trials and tribulations.
The same thing here. Moshe is telling them don't let it get to your head. Don't think this validates your behavior until now. There are two ways this can go down. Either you can be good, and then your migration into Israel will be smooth and simple, or you can be pains in the neck and then your migration will be difficult.
It is going to happen anyway. You might as well get on the train and make the trip smoothly rather than difficult..