Thanks, but no thanks
Don't take rejection personally. You may have written an excellent grant application but your agency's mailing address might be in a zip code where a corporate foundation doesn't have a market share (retail store, restaurant, bank). Or, perhaps that funder has already allocated its funding for your region for the current fiscal year.
Pick yourself up, dust yourself off....and move on.