If $G$ is a simple graph with adjacency matrix $A$, then $c_k(G):=\mbox{tr}A^k$ gives the number of closed walks in $G$ of length $k$. Let $G'$ denote the graph obtained from $G$ by adding an edge between any two vertices (no multiple edges allowed). Then one should have $c_k(G)\leq c_k(G')$. My question is the following. Is it true that $c_k(H)\leq c_k(G)$ implies $c_k(H')\leq c_k(G')$ ? It feels like it should be true but cannot seem to prove this fact. Any references would be appreciated.
Edit: Graphs $G$ and $H$ have the same order and are connected.

This does not hold in general. Let's set $k=3$ and consider the following counterexample:
Here, $c_3(H) = 6$ (there are $3$ closed walks per triangle), which is strictly less than $c_3(G) = 9$.
The only possible edge we can add to $H$ is the one showed with a dashed line (this way $H$ turns into a $K_4$). And there are several edges that we can add to $G$, but all of them accomplish the same: Connect one vertex of one triangle to another.
Then $c_3(H') = 12$, because there will be $3$ small triangles and $1$ large one, a total of $4$ triangles, and there are still $3$ closed walks per triangle subgraph. But $c_3(G')$ doesn't change, there are no new closed walks of length $3$.
So $c_3(H) < c_3(G)$, but $c_3(H') > c_3(G')$.