what does the bible say?
There are several Ahijahs in the Bible, but two of them are more prominent. In 1 Samuel 14, Ahijah, a priest from the line of Eli, was present with Saul during the battle against the Philistines, and Saul sought his help to inquire of God. However, before Ahijah could give guidance, Saul rushed into battle without waiting for a response. Ahijah the prophet followed and spoke for the Lord. He called Solomon out for his sin and warned him of what would happen as a result of turning his heart from the Lord (1 Kings 11:11). Ahijah the prophet also sought and spoke for the Lord to Jeroboam, who became king after Solomon and took over the northern part after the division of Israel. Jeroboam did evil before the Lord, and Ahijah warned of what would happen as a result. His prophecies came true.
The name Ahijah means "worshiper of Yahweh" or "brethren/companion of God." Both of these Ahijahs lived in Shiloh where God's presence resided inside the tabernacle before Solomon completed the temple. They sought the Lord and followed Him, faithfully proclaiming the truth to wayward kings.