What is the key difference between philosophy and poetry? Can a quote be identified as poetic with a philosophical idea hidden within it? For example Albert Einstein once said "Imagination is more important than knowledge. For knowledge is limited to all we now know and understand, while imagination embraces the entire world, and all there ever will be to know and understand." Could this quote be identified as a sort of poetry? Can it be described as something that describes a philosophical idea? This question arose as someone told me that this is his philosophy, but it sounds like a poetic piece that describes an idea to me. In addition, David Schmidtz once said that "Life is a house and meaning is what makes it home." This also sounds poetic, but does it also describe a philosophy in a single sentence?
In general, can a poetic sentence/quote be used as a philosophy or to more generally describe a philosophy?