In the Elijah stories, John the Baptist is depicted as the older and greater prophet in comparison to Jesus (Elisha).
Elijah is Elisha’s predecessor; he appoints Elisha to the office of prophet (1 Kings 19:19); Elisha only receives two parts of Elijah’s spirit (2 Kings 2:9). The competitive situation between the prophets Elijah (John) and Elisha (Jesus) is clearly shown; perhaps some of the accounts of miracles were transferred from one prophet to the other, as occurred in other cases.
In the story of Naboth in 2 Kings 21, Elijah appears as Naboth’s (= Jesus) advocate. This is based on the Christian relationship between Jesus as the founder of Christianity and the church of John, that worshipped Jesus.