When the Lord Jesus Christ took Peter, James, & John into the mountain and Moses and Elias appeared, Peter wanted to build 3 tabernacles: 1 for Jesus, 1 for Moses, & 1 for Elias.
Matthew 17:4 (KJV) Then answered Peter, and said unto Jesus, Lord, it is good for us to be here: if thou wilt, let us make here three tabernacles; one for thee, and one for Moses, and one for Elias.
This act of Peter’s prompted the following response from God the Father:
Matthew 17:5 (KJV) While he yet spake, behold, a bright cloud overshadowed them: and behold a voice out of the cloud, which said, This is my beloved Son, in whom I am well pleased; hear ye him.
Peter put Moses & Elias on the same level as the Lord Jesus Christ. God the Father responded by saying we should listen to Jesus. Statues of saints and Mary take the focus off of the Lord Jesus Christ.