We learn "how not to be" from people as much as "how to be". So yes, there is a lesson to be learned from everyone, especially the ones who are not meant to stay in our lives.