If I got it right, I think you are struggling with rejecting or not the null hypothesis. I will take a simple example of people's height in cm for a fictious country for which we know the population standard deviation. Therefore, we can use the z-test to illustrate the image you shared. I am going to focus mainly on your question and assume that you understand how the test statistics is "built".
Let's assume that we have a random sample of size $n = 50$ from this fictious country. From this sample, you want to make inferences on the broader population it belongs to. For example, you want to determine whether the population mean is different from $\mu_0 = 170$ (for the sake of the exercise).
In the z-test $\frac{\overline{X} - \mu_0}{\sigma/\sqrt{n}}$, $\overline{X}$ is actually a random variable (uppercase notation) which represents the sampling distribution of the sample means. To understand it, the sample you got is only one possible sample out of the many we could have drawn from our population. If we imagine that we could get a significant number of random samples (of the same size) from our population of interest, we would be able to calculate the mean for each of them. This distribution of sample means is the sampling distribution of the means.
The Central Limit Theorem states that, given a sufficiently large sample size, the sampling distribution of the mean for a variable will approximate a normal distribution. We can empirically illustrate that by simulating this sampling distribution of the mean through bootstrapping :

$\frac{\overline{X} - \mu_0}{\sigma/\sqrt{n}}$ follows a standard normal distribution. It is centered on the null hypothesis $\mu_0$. When we inject the mean of our sample $\bar x$ (lowercase notation) in the z-test formula, we will be able to see how far we are from $\mu_0$. For instance, a value greater than 1.96 or lower than -1.96 will indicate that we are more than 2 standard deviations away from $\mu_0$. If you remember also the properties of the standard normal distribution, you know that the probability to get such values represents only 5% of the distribution. In other words, it would mean that to the probability to get a mean as extreme as what we observed from our sample will be unlikely... So we can reject the null hypothesis.
The significance level is the threshold that you fix before doing the test and base on your knowledge of the subject. Of course, if this "threshold" is too "high", then you will be in a situation where you cannot reject the null hypothesis. You can see the significance level as a measure to assess the strength of your analysis.