To keep it short here is a quiz for you.
1) Who provided nuke tech to China for its 1964 test and who provided nuke tech to India for its 74 test?
Yes USSR helped China with their program. As far as India is concerned the Atoms for Peace program was abused by India to help build the bomb, this is true. This program was designed to harness nuclear energy for peaceful purposes and after the test of '74 the U.S. placed trade sanctions lasting 25 years. Poor example, but good try.