I understand that p-value is the probability that the correlation we got happened by random chance and we typically want to keep that under 5%. I am okay with this logic when it applies to sampling of a dataset - for example, if I'm sampling 300 out of 1000 individuals, p-value explains what the probability that the correlation just so happens to be in our sample is, if we picked any other sample of 300, we may not find the same correlation, that's why we need the p-value here. Am I right in my comprehension ?
Further, I am having trouble understanding the intuition behind the p-value for the correlation calculation if we use all the data points. Let's say I do not sample, and I take all 1000 data points available of individuals I have and get a correlation value, how do I interpret the p-value for this? Because the probability of selection bias no longer exist, so technically, whatever correlation I get, should be the correct correlation and it will not happen by chance. So should I still care about the p-value if I use the entire dataset instead of sampling?