So because he was a prophet and knew God had sworn with an oath to him to seat one of his descendants on his throne,