The wisdom behind this is to encourage Muslims to strive in worship throughout all the nights of Ramadan, or at least in the last ten nights. By doing so, they will earn the reward of observing Laylat al-Qadr as well as the reward of worshiping on other blessed nights.