Just go to maven repository https://mvnrepository.com/search?q=mockito,
select your version the name and version you want (https://mvnrepository.com/artifact/org.mockito/mockito-core/5.14.2)
under the description, right to line starting with Files then click to jar link will automatically download the jar file as shown in the screen shot.