Text this: From failure to flourishing: a cognitive, emotional, and behavioral model