Jesus speaks about the lilies as if they were people who wore clothes. The lilies being clothed is a metaphor for the plants having beautiful and colorful flowers. (See: [[rc://en/ta/man/jit/figs-personification]] and [[rc://en/ta/man/jit/figs-metaphor]])
This can be stated in active form. Alternate translation: "did not wear clothes that are as beautiful as these lilies" (See: [[rc://en/ta/man/jit/figs-activepassive]])