I Chronicles 28:3 Halakhah

וְהָאֱלֹהִים֙ אָ֣מַר לִ֔י לֹא־תִבְנֶ֥ה בַ֖יִת לִשְׁמִ֑י כִּ֣י אִ֧ישׁ מִלְחָמ֛וֹת אַ֖תָּה וְדָמִ֥ים שָׁפָֽכְתָּ׃

But God said unto me: Thou shalt not build a house for My name, because thou art a man of war, and hast shed blood.

Read halakhic rulings (Jewish law) on I Chronicles 28:3: and classical halakhic sources.