The unity of the two Testaments proceeds from the unity of God's plan and his Revelation. The Old Testament prepares for the New and the New Testament fulfils the Old; the two shed light on each other; both are true Word of God.
Source: Catechism of the Catholic Church (Vatican.va)