During communist times in some Western countries and in China’s communist regime today, atheist governments supported churches financially. This initially seems contradictory. That is only because we have a skewed understanding of what help is.
Aid from government tends to be damaging in the long run. What government funds, government can control. In those countries, the different churches became beholden to their atheist government.