You have the right idea, but in order to make it convincing, you have to produce an actual counterexample. Here’s a simple one: let $X=\Bbb N$, and let $\tau=\big\\{\varnothing,\\{0\\},\Bbb N\\}$. It’s straightforward to verify that $\tau$ really is a topology on $X$, and that $X$ is the only infinite open subset of $X$.
With a little more work you can make the space $T_0$. Once again let $X=\Bbb N$, for each $n\in\Bbb N$ let $U_n=\\{k\in\Bbb N:k
You cannot make the space $T_1$, however: if $X$ is $T_1$, and $x\in X$, then $X\setminus\\{x\\}$ is open.