To give an assurance that something will be done right.
To assume or take responsibility for a debt or other obligation.
To make something certain.
The long sunny days guarantee a good crop.