King David's message concerning Shimi Ben Gera: Shabbat 105a
King David said to Hashem, "I am glad when I hear people wish that Solomon was already king, to build the Temple, so that they could go there." Hashem responded, "One day of your involvement in Torah is more valuable to me than a thousand offerings which Solomon will bring": Makkot 10a