Convinced I Am Doomed to Hell Because of Vow

If a person makes a vow and sells their soul to the devil, can they be saved? If a person verbalizes that they sell their soul in exchange for something they desire, and then they get the very thing they desire; does that mean that they’ve actually lost their soul beyond any hope of salvation?