But he was a prophet and knew that God had promised him on oath that He would place one of his descendants on his throneᵃ.