Quite often, the CD will earn more interest—even if you have to pay a penalty for early withdrawal.
_____
For example, my local credit union offers 0.10% interest on passbook savings and 1.46% interest on a 4-year CD. One of my local banks offers 0.01% interest on passbook savings, and 0.60% on a 4-year CD.