But Hashem said to Dovid Avi, Because it was in levavcha to build a Bais for Shmi, thou didst well in that it was in levavcha.