"spoke this message from Yahweh" or "declared these words of Yahweh." This is a formal way of saying that the words that follow come directly from Yahweh.
# by myself I have sworn
"I have promised and I am my witness." To swear means to use the name of something or someone as the basis or power on which the oath is made. There is nothing more powerful for Yahweh to swear by than himself.
"have not kept back your son." This can be stated in positive form. Alternate translation: "were willing to offer your son to me" (See: [[rc://en/ta/man/translate/figs-doublenegatives]])
It is implied that God knows that Abraham has another son, Ishmael. This emphasizes that Isaac is the son that God promised to give Abraham. See how you translated a similar phrase in [Genesis 22:2](./02.md). (See: [[rc://en/ta/man/translate/figs-explicit]])