When a person is rescued from deep distress, exile, or the dangers of fleeing, a natural response is profound gratitude. During those dark moments of crisis, it is common to make promises and commit to offering sacrifices to God if saved. The primary approach among commentators is that having been delivered and safely returned home, the rescued individual steps forward to honor those exact commitments immediately and without delay.
While this reflects a swift response to safety, another perspective views this gratitude as a hope for the future. In this light, the individual prays for the rebuilding of the Temple during his lifetime. This would allow him to bring his promised sacrifices at a grand occasion, such as one of the three major pilgrimage festivals or the dedication of the newly built Temple [אלשיך].
Regardless of when they are brought, these promises are never kept in private. They are fulfilled openly in the full view of a vast gathering of God's people. The purpose of this public display is to share the miracle that God performed for him, thereby elevating and honoring His name before the masses [מצודת דוד, ביאור שטיינזלץ].