What was unrevealed in the past ages, was, that Christ would have a predominantly Gentile wife. Eph. 3:6 ESV This mystery is that the Gentiles are fellow heirs, members of the same body [of Christ, cf. Eph. 5:30-32], and partakers of the promise in Christ Jesus through the gospel. This wife is "one flesh" with Christ (Eph. 5:30-32), that's why it was unrevealed to the prophets of old. When they saw Christ, they saw us "in Christ" (Rom. 12:5; 16:7; Gal. 3:28; Eph. 1:20; 2:10, etc.). This realization solves the problem of 2 Samuel 7:10-15, specifically verse 14: 2 Samuel 7:10-15 ESV, bold emphasis mine 10 And I will appoint a place for my people Israel and will plant them, so that they may dwell in their own place and be disturbed no more. And violent men shall afflict them no more, as formerly, 11 from the time that I appointed judges over my people Israel. And I will give you rest from all your enemies. Moreover, the Lord declares to you that the Lord will make you a house. 12 When your days are fulfilled and you lie down with your fathers, I will raise up your offspring after you, who shall come from your body, and I will establish his kingdom. 13 He shall build a house for my name, and I will establish the throne of his kingdom forever. 14 I will be to him a father, and he shall be to me a son. When he commits iniquity, I will discipline him with the rod of men, with the stripes of the sons of men, 15 but my steadfast love will not depart from him, as I took it from Saul, whom I put away from before you. This passage is not referring to Solomon, because "the throne of his kingdom [was not established] forever" (v. 13). This passage is obviously a reference to the Messiah, yet the problem arises, that this entity sinned. This sin is not speaking of Christ, but rather the sin of Christ's wife, the Church (2Cor. 5:20-21). When the Church sins, she is punished (Gal. 5:10; 1Pet. 2:20; Rev. 2:20-23), just like it says in the same passage of Samuel above: "When he commits iniquity, I will discipline him with the rod of men, with the stripes of the sons of men".