Not only that, but the sentiments it expresses are directly opposite to others Madison most certainly expressed. For example.
The experience of the United States is a happy disproof of the error so long rooted in the unenlightened minds of well-meaning Christians, as well as in the corrupt hearts of persecuting usurpers, that without a legal incorporation of religious and civil polity, neither could be supported.
Try this on for size. Jefferson wrote and Madison proposed a law criminalizing the breaking of the Sabbath in Virginia.
It's never that easy.
And BTW, the law passed.