Hedging guaranteed investment contract

A bank sold a five year guaranteed investment contract that guaranteed 5% return per year. Buy a bond with Target yield of 5% maturing in five years. Can it guarantee the value whether rates go up or down?