There are already some good answeranswers, but I want to share my oppinionopinion on your case:
- I have never met any boss/leader like yours before. I have my tasks overdue many many times, but noneno one was yelling me about that. Wrong estimation is completely normal for a junior developer.
- I have some knowledge on project management myself. First, a good boss/PM/leader will have to estimate the resource to get things done. Second, they're not only planing, they are monitoring and constantly adjustadjusting that plan to fit the situation. SeeingHe was seeing you fail to accomplish your task, yet he did not give you any reinforcement. It's not OK at all. The power is in their handhands, and the responsibility comecomes along with that. I believe he has no right cut off your salary.
- Regardless of whether you get the money or not, you should abandon this boss. What a terrible manager he is.