be a figment of (your)/the imagination
if something is a figment of your imagination, it seems real although it is not.
I thought I saw someone standing in the shadows, but it was just a figment of my imagination.
英语词组固定搭配大全包含18674条英汉双解词组,基本涵盖了全部常用英文词组、短语的翻译及用法,是英语学习的有利工具。