One of the important problemswith the existence of weak gravity conjecture (WGC) is the violation of the cosmic censorship. Such a cosmic phenomena is important and consistent in general relativity. It means that for a charged black hole in four dimensions and in the normal state, the WGC cannot hold due to the violation of the weak cosmic censorship conjecture (WCCC). But in this paper, in order to eliminate such a violation, we try to consider RN black hole at two cases, with quintessence, quintessence and cloud of strings in asymptotically flat and non-asymptotically flat. By using such metric background and applying restrictions on its parameters, we show that there will be a good compatibility between WGC and WCCC. Here, we can also see that quintessence case has less freedom in establishing compatibility than quintessence and cloud of strings. Because in the second case, the number of parameters is more and there is a degree of freedom to better establish the compatibility of two theories. Also, here we explain charged black hole in presence of quintessence and cloud of string for Q > M and use some interesting figures we show the corresponding the black hole has an event horizon.