There are several mentions of Egyptian Pharaohs in the Bible. However, there is currently only a consensus in identifying three………
Pharaoh Taharqa (reigned 690-664 BC) 2 Kings 19:9 and Isaiah 37:9 is mentioned as the opponent of Sennacherib of Assyria. He was of Nubian descent and is called King of Ethiopia/Cush, and hence is not given the title pharaoh. However, his title as king of Egypt is authenticated in Egyptian documents.
Pharaoh Necho II (610-595 BCE), and Jeremiah 44:30 mentions his successor Apries or Hophra (589-570 BC).
Of all these stories, the dealings of Necho II and Josiah, King of Judah is most revealing……
2 Chronicles Chapter 35
20 After all this, when Josiah had prepared the temple, Neco king of Egypt went up to fight against Carchemish by the Euphrates; and Josiah went out against him.
21 But he sent ambassadors to him, saying: ‘What have I to do with thee, thou king of Judah? I come not against thee this day, but against the house wherewith I have war; and God hath given command to speed me; forbear thee from meddling with God, who is with me, that He destroy thee not.’
22 Nevertheless Josiah would not turn his face from him, but disguised himself, that he might fight with him, and hearkened not unto the words of Neco, from the mouth of God, and came to fight in the valley of Megiddo.
23 And the archers shot at king Josiah; and the king said to his servants: ‘Have me away; for I am sore wounded.’
24 So his servants took him out of the chariot, and put him in the second chariot that he had, and brought him to Jerusalem; and he died, and was buried in the sepulchres of his fathers. And all Judah and Jerusalem mourned for Josiah.