Obama is right, and you don’t know your Bible. “Do not test the Lord your God” (Luke 4:12, Deuteronomy 6:16) means don’t take stupid risks on the assumption that God will rescue your from your own stupidity.
Stop confusing politics and religion. “Republican” is not the same as “Christian” and you’re just making the rest of us look insane. Just because you don’t agree with legislation, that doesn’t automatically make it blasphemy.