Йехезкэля 28:15 Мидраш: Midrash Tanchuma

תָּמִ֤ים אַתָּה֙ בִּדְרָכֶ֔יךָ מִיּ֖וֹם הִבָּֽרְאָ֑ךְ עַד־נִמְצָ֥א עַוְלָ֖תָה בָּֽךְ׃

Ты был совершенен в своих путях со дня, когда ты был сотворен, до тех пор, пока неправедность не была найдена в тебе.

Midrash Tanchuma

Thus you find that though I created Hiram, king of Tyre, righteous and upright, as it is said: Perfect in thy ways from the day that thou wast created (Ezek. 28:15), wickedness finally appeared in him and he was banished.