For example, David can be written in this way: דוד and this: דויד
So if you walk in My ways, to keep My statutes and My commandments, as your father David (דויד) walked, then I will lengthen[c] your days (1 Kings 3:14)
Then Samuel took the horn of oil and anointed him in the midst of his brothers; and the Spirit of the Lord came upon David (דוד) from that day forward. So Samuel arose and went to Ramah (1 Samuel 16:13)