Acts 2:30 NIRV

30 But David was a prophet. He knew that God had made a promise to him. He had taken an oath that someone in David's family line would be king after him.