Yireh (Jireh) is from the same Hebrew word as Moriah, which is the name of the region where God sent Abraham to sacrifice Isaac (Genesis 22). In Genesis 22:11-13, we read, "But the Angel of the Lord called to him from heaven and said, 'Abraham, Abraham!'
So he said, 'Here I am.' And He said, 'Do not lay your hand on the lad, or do anything to him; for now I know that you fear God since you have not withheld your son, your only son, from Me.' Then Abraham lifted his eyes and looked, and there behind him was a ram caught in a thicket by its horns. So Abraham went and took the ram, and offered it up for a burnt offering instead of his son." God provided the lamb. And Abraham called the place Jehovah Jireh (Yahweh-Yireh) - God is our substitutionary sacrifice.
Genesis 22:1-18; Romans 8:32; Philippians 4:19