You realize that much of Mathew was plagerizing from Mark and so were other gospels..Givingus doubt there was a Mathew at all....The stories of Samuel, Jonah etc etc were ahem also ( foreshadowed in your own words) and given a different spin with your hero / idol Jesus heck he even said to do so by placing him everywhere... So yes plagerizing was a common concept in the New Testament in fine Roman tradition of taking what is others and giving it a new spin.. They did that with all the people’s they conquered as the Greeks, Vians , Gauls to name a few...Sigh.... Not plagiarizing.... It is a different story. Matthew, for example, used a literary device known as foreshadowing. Four different accounts, from four different perspectives.Of course itis plagerizing is rampant in the New Testament . That happens when you try to be all things to all people’s esp the ones you conquer or wish to.. The Romans were very very good and taking what was others and making it their own...