Vedas also say that Idol worship is a sin. I think that all major religions say that Idol worship is a sin. Idol worship as practiced by Hindus belong to pre-Vedic india.
According to Vedas, God is formless, unborn and omnipresent and hence it is wrong to say Yogi Krishna or King Ram was a god. Look at principal # 2 of Aryasamaj that directly comes from Veda.