The human race isn't in danger, though. The population's actually going up year after year. There are some countries that aren't having enough kids to stay at their peak population without allowing immigration, which may be the actual cause of your concern, but that isn't necessarily a bad thing; encourage immigration, and the problem's solved.