See Matthew 26:39; Mark 14:36; and Luke 22:42.
The phrase “ye are gods” is found in the scriptures in Psalm 82:6; Isaiah 41:23; and John 10:34.
In January 1842, JS reportedly stated that “all the Saints” who (like the Godhead) worked to redeem a world “inherited a Celestial glory so their would be Gods many & Lords many.” (Discourse, 30 Jan. 1842; see also Vision, 16 Feb. 1832 [D&C 76].)