Hi, Much dependson the context, and sometimes you can use either. However, here are a couple of comments. "IN the beginning" Treats the beginning as a period of time, or something having length.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.