Read it again. It does not say the apostles and prophets built the foundation. Ephesians says they are part of the foundation. Matthew has The Lord Jesus promising to build his church upon this rock, after he just gave the name Peter to Simon/Shimon.
Paul uses the imagery of a building as he writes this passage in Ephesians. Note the words: built, foundation, cornerstone, building, built.
But we'll play it your way. What was the foundation of the apostles and the prophets? That foundation has to be something. What is the "having been built upon the foundation....." What is that foundation??
it's also customary to name your denomination, sect, or group. You should know these scriptures back and forth.
I've never seen naming your denomination as a requirement for posting, nor have I seen hardly any other poster do so. But for your curiosity my denomination is Christian.