For most contracts to be enforceable, there must be a bargained for exchange, called consideration. In other words, you must give something to get something. A promise to do something, where nothing is given in exchange for that promise is usually not enforceable. Why do you think that is the law?