Don't be too concerned by the comments here about "offensive" and "immoral" language. By modern standards of spoken English, this is a very very mild epithet that you will hear all the time. Movies and regular TV programs have language worse than this, as well as the average American 13-year-old. But since you are from China, I might suggest that you cut it down to simply "damn it!", or "oh damn it!". Odds are you are not a believer in the bible, much like 20% of Americans. (It's no doubt more than 20%, but a lot of people "go along" to "get along" with friends and family who are religious.)