Therefore the ark of the Lord was in the region of the Philistines for seven months. Seven often expresses the universality of any matter, either of time, or number, or surely the fullness of spiritual grace. But the month, which is varied by the increase and decrease of the lunar light, insinuates the state of the Church laboring between good and bad times, but never failing from the Sun of righteousness. Therefore, the ark of the Lord's faith has been and will be among the nations for the entire time of the age, in which the grace of the sevenfold Holy Spirit will fill the Church and be wort...hy to illuminate lands, as if they were weak and subject to itself. But according to the literal present reading, which narrates that the Philistines were struck by the proximity of the ark of the Lord, it teaches that no unclean person should presume to approach the holy things; but whoever wishes to receive the Lord's body, or handle His most sacred words, let him prove himself, and so let him eat of that bread and drink of that cup, discipline his body, and bring it into subjection, lest preaching to others, he himself should become a castaway (1 Corinthians XI, 9).
Source: Commentary on Samuel