The joke is a pun. Being 'solid as a rock' means being strong and confident.  Being 'bolder' means being more confident.  The identically sounding word, 'boulder' is a word that refers to a very large rock.
A husband who thinks he is as solid as a rock may have a wife who wishes he was a little bolder .