Reach Out and Grab a Mitzvah

The floor of the Beis HaMikdash was composed of beautiful tiles. The Gemara discusses the halachah if one of the tiles became dislodged. May the kohen stand on the wobbly tile and perform the avodah?
In the ensuing discussion, the Gemara establishes the fact that the floor of the Beis HaMikdash was sanctified by none other than Dovid HaMelech. Tosfos points out that this is somewhat difficult to reconcile, as we know that the Beis HaMikdash was built by Shlomo HaMelech. Tosfos is forced to conclude that even though Dovid HaMelech did not build the Beis HaMikdash, he still sanctified the floor.
According to some Acharonim, he actually built at least part of the floor. Rashi understands that the process involved the Korban Todah, whereas Tosfos says that remnants of a Minchah offering were used. But everyone agrees there was some process that Dovid HaMelech utilized to sanctify the future area of the Beis HaMikdash.
Rabbi Sholom Rosner pointed out that there is a lesson here for everyone.