If a person has promised something to a person but unfortunately their circumstances change is it ok to break the promise as keeping the promise will bring many hardships?

Keeping a promise to another is mustahab and not wajib unless the promise was to Allah by reciting the formula in which case it becomes wajib