In his “Detached Memoranda,” not published until after his death, Madison even wrote that the appointment of chaplains in the armed forces, and indeed in Congress, was “inconsistent with the Constitution, and with the pure principles of religious freedom.”