In a large pot, bring salted water to a boil and cook the whole wheat pasta according to package directions until al dente. Drain and set aside, reserving 1/2 cup of the pasta cooking water.
In a large skillet, heat olive oil over medium heat. Add minced garlic and sauté for 1-2 minutes until fragrant, being careful not to brown it.
Stir in the cooked chickpeas (or black beans) and chopped spinach. Cook for another 3-4 minutes until the spinach is wilted.
Reduce the heat to low and add Greek yogurt, vegetable broth, and grated Parmesan cheese to the skillet. Stir until combined and creamy. If the sauce is too thick, gradually add some reserved pasta water until you reach your desired consistency.
Add the cooked pasta to the skillet and mix everything gently until the pasta is coated in the creamy sauce. Season with oregano, salt, and pepper. Toss until everything is well combined.
Divide the creamy pasta among bowls and top with fresh basil for a pop of flavor and color. Enjoy immediately!
Notes
Feel free to substitute chickpeas with black beans if desired.