There are many Muslim politicians, in many parts of the world who love to go for the inauguration of the temple and Mandir or go for inauguration of churches to show that they’re secular to show that they are very tolerant in no way if you go for the inauguration of a temple or a church makes you tolerant.
It is nothing but you are helping one another in sin and shirk, which is the gravest sin in Islam, and Allah is very clear-cut Allah says in Surah An-Nisa chapter 4 verse 48 and Surah An-Nisa chapter 4 verse 116 that
if Allah pleases he may forgive any sin but the sin of shirk he will never forgive for anyone who has committed shirk has stayed away far and it is the most hideous sin.