Some nedarim are made out of closeness to God and one's personal dedication.
Some Jews in times of desperation have made nedarim in hopes that God will answer their prayers in exchange for making a commitment.