Answer:
And of every living thing of all flesh you shall bring two of every sort into the ark, to keep them alive with you; they shall be male and female (GENESIS 6:19).
Can you even imagine it? Dinosaurs on the ark? It is so very cool to think about. And we can be sure they were there because the Bible tells us that every kind of air-breathing, land-dwelling animal went aboard. Now, Noah did not know of the word dinosaur back then. In fact, that word was made up in 1841 to describe land animals found that had very unique bone structures, uncommon to other animals. Dinosaur literally means “Terrible Lizard.”
But we do know what God tells us—that all the kinds of land animals were on the ark. Well, that just had to include the dinosaur kinds, too!
Source: https://answersingenesis.org/kids/dinosaurs/did-noah-take-dinosaurs-on-the-ark/