Occam’s razor won’t get you to the correct conclusion for all possible combinations of truth values and evidence, but it is always the best process to follow. You might end up getting new evidence later that means you update your belief, even update it to believe in something which previous evidence meant Occam’s razor lead you to dismiss that conclusion. But it helps you arrive at the best conclusion based on current evidence.
Occam’s razor won’t get you to the correct conclusion for all possible combinations of truth values and evidence, but it is always the best process to follow. You might end up getting new evidence later that means you update your belief, even update it to believe in something which previous evidence meant Occam’s razor lead you to dismiss that conclusion. But it helps you arrive at the best conclusion based on current evidence.