If your board is running a i3 9th gen the you can upgrade to the 9700k.
while the 6th, 7th, 8th, and 9th gen cpus all use the same socket, 6 & 7 gen can not go in 8 & 9 gen motherboards
The 1151 socket spans across the 100, 200, 300, and 400 series motherboards.
6th gen cpus will work in 100 and 200 series motherboards
7th gen will work in 200 series motherboards and 100 series with a bios update
While the 6th and 7th gen cpus will fit in a 300 and 400 series board they will not work.
8th gen will work in a 300 and 400 series board
9th gen will work in a 400 series board and with a bios update a 300 series board.
like before the 8th and 9th gen will fit in a 100 and 200 series board but will not work.