I need advice

My boyfriend & I have been together for almost 2 years now. Today I found out that he was still with his ex just a week before we got together even though he told me they were broken up. He also lied to me about how “intimate” their relationship was. I didn’t care about their relationship I just expected honesty and he knew that. Should I still trust him? Or am I overreacting?